com.hazelcast.management.request
Class ExecuteScriptRequest
java.lang.Object
com.hazelcast.management.request.ExecuteScriptRequest
- All Implemented Interfaces:
- JsonSerializable, ConsoleRequest
public class ExecuteScriptRequest
- extends Object
- implements ConsoleRequest
Request for executing scripts on the nodes from Management Center.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteScriptRequest
public ExecuteScriptRequest()
ExecuteScriptRequest
public ExecuteScriptRequest(String script,
String engine,
boolean targetAllMembers,
Map<String,Object> bindings)
ExecuteScriptRequest
public ExecuteScriptRequest(String script,
String engine,
Set<String> targets,
Map<String,Object> bindings)
getType
public int getType()
- Specified by:
getType
in interface ConsoleRequest
writeResponse
public void writeResponse(ManagementCenterService mcs,
com.eclipsesource.json.JsonObject root)
throws Exception
- Specified by:
writeResponse
in interface ConsoleRequest
- Throws:
Exception
readResponse
public Object readResponse(com.eclipsesource.json.JsonObject json)
throws IOException
- Specified by:
readResponse
in interface ConsoleRequest
- Throws:
IOException
toJson
public com.eclipsesource.json.JsonObject toJson()
- Specified by:
toJson
in interface JsonSerializable
fromJson
public void fromJson(com.eclipsesource.json.JsonObject json)
- Specified by:
fromJson
in interface JsonSerializable
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.