public class ConsoleCommandRequest extends Object implements ConsoleRequest
Constructor and Description |
---|
ConsoleCommandRequest() |
ConsoleCommandRequest(String command) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
int |
getType() |
Object |
readResponse(com.eclipsesource.json.JsonObject json) |
com.eclipsesource.json.JsonObject |
toJson() |
void |
writeResponse(ManagementCenterService mcs,
com.eclipsesource.json.JsonObject root) |
public ConsoleCommandRequest()
public ConsoleCommandRequest(String command)
public int getType()
getType
in interface ConsoleRequest
public void writeResponse(ManagementCenterService mcs, com.eclipsesource.json.JsonObject root) throws Exception
writeResponse
in interface ConsoleRequest
Exception
public Object readResponse(com.eclipsesource.json.JsonObject json)
readResponse
in interface ConsoleRequest
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.