Package org.hcjf.io.console.messages
Class ExecuteMessage
- java.lang.Object
-
- org.hcjf.io.net.messages.Message
-
- org.hcjf.io.console.messages.ExecuteMessage
-
- All Implemented Interfaces:
BsonParcelable
public class ExecuteMessage extends Message
This message contains the command information.- Author:
- javaito
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hcjf.utils.bson.BsonParcelable
BsonParcelable.Builder
-
-
Field Summary
-
Fields inherited from interface org.hcjf.utils.bson.BsonParcelable
MAP_KEYS_FIELD_NAME, MAP_VALUES_FIELD_NAME, PARCELABLE_CLASS_NAME
-
-
Constructor Summary
Constructors Constructor Description ExecuteMessage()
-
Method Summary
Modifier and Type Method Description java.lang.StringgetCommandName()Returns the command name.java.util.List<java.lang.Object>getParameters()Returns the command parameters.voidsetCommandName(java.lang.String commandName)Set the command name.voidsetParameters(java.util.List<java.lang.Object> parameters)Set the command parameters.-
Methods inherited from class org.hcjf.io.net.messages.Message
getId, getSessionBean, getSessionId, getTimestamp, setId, setSessionBean, setSessionId, setTimestamp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hcjf.utils.bson.BsonParcelable
fromBson, fromBson, fromBson, populate, toBson, toBson, toBson, toBson, typeFromBson
-
-
-
-
Method Detail
-
getCommandName
public java.lang.String getCommandName()
Returns the command name.- Returns:
- Command name.
-
setCommandName
public void setCommandName(java.lang.String commandName)
Set the command name.- Parameters:
commandName- Command name.
-
getParameters
public java.util.List<java.lang.Object> getParameters()
Returns the command parameters.- Returns:
- Command parameters.
-
setParameters
public void setParameters(java.util.List<java.lang.Object> parameters)
Set the command parameters.- Parameters:
parameters- Command parameters.
-
-