public interface PendingCommand
Operation interface, since one operation
could consist of several commands and the set of commands in the operation could change
during the execution. In addition this interface could be used to manage the commands
which are not associated with an Operation object.| Modifier and Type | Field and Description |
|---|---|
static int |
INTERPRETATION_NOT_STARTED
Command is dispatched to the device, but not passed for interpreting, yet.
|
static int |
INTERPRETATION_STARTED
The command is sent to device for interpretation.
|
static int |
OFFLINE_INTERPRETATION_RUNNING
Command is sent to device for interpretation, and device has declared 'offline interpretation' for this command, meaning that system will not re-force the command on device reconnect.
|
| Modifier and Type | Method and Description |
|---|---|
Command |
getCommand()
Returns the command object.
|
int |
getCommandState()
Returns the exact state of the pending command.
|
java.lang.String |
getDeviceId()
Returns the id of the device which this command is pending for.
|
java.lang.String |
getDeviceType()
Returns the type of the device which this command is pending for.
|
java.lang.String |
getOperationId()
Returns the operation id which this command is associated with, or
null if
the command is not associated with the Operation object. |
java.lang.String |
getPendingCommandId()
Returns the unique identifier of this pending command.
|
java.util.Dictionary<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.Object |
getProperty(java.lang.String key) |
void |
setProperties(java.util.Dictionary<java.lang.String,java.lang.Object> properties) |
void |
setProperty(java.lang.String key,
java.lang.Object value) |
static final int INTERPRETATION_NOT_STARTED
static final int INTERPRETATION_STARTED
static final int OFFLINE_INTERPRETATION_RUNNING
java.lang.String getPendingCommandId()
java.lang.String getDeviceType()
java.lang.String getDeviceId()
java.lang.String getOperationId()
null if
the command is not associated with the Operation object.Command getCommand()
int getCommandState()
INTERPRETATION_NOT_STARTED, INTERPRETATION_STARTED or OFFLINE_INTERPRETATION_RUNNING.java.util.Dictionary<java.lang.String,java.lang.Object> getProperties()
void setProperties(java.util.Dictionary<java.lang.String,java.lang.Object> properties)
java.lang.Object getProperty(java.lang.String key)
void setProperty(java.lang.String key,
java.lang.Object value)
Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.