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 ConsoleRequestpublic void writeResponse(ManagementCenterService mcs, com.eclipsesource.json.JsonObject root) throws Exception
writeResponse in interface ConsoleRequestExceptionpublic Object readResponse(com.eclipsesource.json.JsonObject json) throws IOException
readResponse in interface ConsoleRequestIOExceptionpublic com.eclipsesource.json.JsonObject toJson()
toJson in interface JsonSerializablepublic void fromJson(com.eclipsesource.json.JsonObject json)
fromJson in interface JsonSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.