public class ExecuteScriptRequest extends Object implements ConsoleRequest
Constructor and Description |
---|
ExecuteScriptRequest() |
ExecuteScriptRequest(String script,
String engine,
boolean targetAllMembers,
Map<String,Object> bindings) |
ExecuteScriptRequest(String script,
String engine,
Set<String> targets,
Map<String,Object> bindings) |
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 ExecuteScriptRequest()
public ExecuteScriptRequest(String script, String engine, boolean targetAllMembers, Map<String,Object> bindings)
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) throws IOException
readResponse
in interface ConsoleRequest
IOException
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.