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, removeMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteTokenaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatapublic DeviceCommandInvocationWithAsset(IDeviceCommandInvocation wrapped, IAssetModuleManager assets) throws SiteWhereException
SiteWhereExceptionpublic CommandInitiator getInitiator()
IDeviceCommandInvocationgetInitiator in interface IDeviceCommandInvocationpublic java.lang.String getInitiatorId()
IDeviceCommandInvocationgetInitiatorId in interface IDeviceCommandInvocationpublic CommandTarget getTarget()
IDeviceCommandInvocationgetTarget in interface IDeviceCommandInvocationpublic java.lang.String getTargetId()
IDeviceCommandInvocationgetTargetId in interface IDeviceCommandInvocationpublic java.lang.String getCommandToken()
IDeviceCommandInvocationgetCommandToken in interface IDeviceCommandInvocationpublic java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocationgetParameterValues in interface IDeviceCommandInvocationpublic CommandStatus getStatus()
IDeviceCommandInvocationgetStatus in interface IDeviceCommandInvocation