public class DeviceCommandInvocationWithAsset extends DeviceEventWithAsset implements IDeviceCommandInvocation
asset, UNASSOCIATED_ASSET_NAME, wrapped
Constructor and Description |
---|
DeviceCommandInvocationWithAsset(IDeviceCommandInvocation wrapped,
IAssetModuleManager assets) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandToken()
Get the unique token of the command to be executed.
|
CommandInitiator |
getInitiator()
Get actor type that initiated the command.
|
java.lang.String |
getInitiatorId()
Get unique id of command initiated.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameterValues()
Get the list of parameter names mapped to values.
|
CommandStatus |
getStatus()
Get status of command.
|
CommandTarget |
getTarget()
Get actor type that received command.
|
java.lang.String |
getTargetId()
Get unique id of command target.
|
addOrReplaceMetadata, clearMetadata, compareTo, getAssetId, getAssetModuleId, getAssetName, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getMetadata, getMetadata, getReceivedDate, getSiteToken, getWrapped, removeMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
public DeviceCommandInvocationWithAsset(IDeviceCommandInvocation wrapped, IAssetModuleManager assets) throws SiteWhereException
SiteWhereException
public CommandInitiator getInitiator()
IDeviceCommandInvocation
getInitiator
in interface IDeviceCommandInvocation
public java.lang.String getInitiatorId()
IDeviceCommandInvocation
getInitiatorId
in interface IDeviceCommandInvocation
public CommandTarget getTarget()
IDeviceCommandInvocation
getTarget
in interface IDeviceCommandInvocation
public java.lang.String getTargetId()
IDeviceCommandInvocation
getTargetId
in interface IDeviceCommandInvocation
public java.lang.String getCommandToken()
IDeviceCommandInvocation
getCommandToken
in interface IDeviceCommandInvocation
public java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocation
getParameterValues
in interface IDeviceCommandInvocation
public CommandStatus getStatus()
IDeviceCommandInvocation
getStatus
in interface IDeviceCommandInvocation