public class ControlUnitInstanceCommand extends java.lang.Object implements Command
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
COMMAND_TYPE_BATCH_COMMAND, COMMAND_TYPE_CONDITIONAL, COMMAND_TYPE_CU, COMMAND_TYPE_CU_INSTANCE, COMMAND_TYPE_SCRIPT, COMMAND_TYPE_SERIALIZED_COMMAND| Constructor and Description |
|---|
ControlUnitInstanceCommand()
Empty constructor.
|
ControlUnitInstanceCommand(ControlUnitID controlUnitID,
java.lang.String actionID,
java.lang.Object actionArgs)
Constructs control unit instance command with given arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getActionArguments()
Returns the arguments of the action invocation.
|
java.lang.String |
getActionID()
Returns id of the action to be invoked.
|
ControlUnitID |
getControlUnitID()
Returns the id of the target control unit.
|
java.lang.String |
getType()
Returns the type of this command.
|
void |
readObject(java.io.InputStream arg0)
Method used for serialization.
|
void |
setActionArguments(java.lang.Object arguments)
Sets arguments of the action invocation.
|
java.lang.String |
toString() |
void |
writeObject(java.io.OutputStream arg0)
Method used for serialization.
|
public static final java.lang.String TYPE
public ControlUnitInstanceCommand()
public ControlUnitInstanceCommand(ControlUnitID controlUnitID, java.lang.String actionID, java.lang.Object actionArgs)
controlUnitID - id of the target control unit.actionID - id of the action to be invoked.actionArgs - arguments of the action invocation.public java.lang.String getType()
Commandpublic java.lang.Object getActionArguments()
public java.lang.String getActionID()
public ControlUnitID getControlUnitID()
public void setActionArguments(java.lang.Object arguments)
arguments - arguments of the action invocation.public void readObject(java.io.InputStream arg0)
throws java.lang.Exception
readObject in interface Externalizablejava.lang.Exceptionpublic void writeObject(java.io.OutputStream arg0)
throws java.lang.Exception
writeObject in interface Externalizablejava.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.