public class DeviceCommandInvocation extends DeviceEvent implements IDeviceCommandInvocation, java.io.Serializable
IDeviceCommandInvocation.| Constructor and Description |
|---|
DeviceCommandInvocation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAsHtml() |
DeviceCommand |
getCommand() |
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.
|
void |
setAsHtml(java.lang.String asHtml) |
void |
setCommand(DeviceCommand command) |
void |
setCommandToken(java.lang.String commandToken) |
void |
setInitiator(CommandInitiator initiator) |
void |
setInitiatorId(java.lang.String initiatorId) |
void |
setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues) |
void |
setStatus(CommandStatus status) |
void |
setTarget(CommandTarget target) |
void |
setTargetId(java.lang.String targetId) |
compareTo, copy, getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken, setAssetId, setAssetModuleId, setAssignmentType, setDeviceAssignmentToken, setEventDate, setEventType, setId, setReceivedDate, setSiteTokenaddOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteTokenaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatapublic CommandInitiator getInitiator()
IDeviceCommandInvocationgetInitiator in interface IDeviceCommandInvocationpublic void setInitiator(CommandInitiator initiator)
public java.lang.String getInitiatorId()
IDeviceCommandInvocationgetInitiatorId in interface IDeviceCommandInvocationpublic void setInitiatorId(java.lang.String initiatorId)
public CommandTarget getTarget()
IDeviceCommandInvocationgetTarget in interface IDeviceCommandInvocationpublic void setTarget(CommandTarget target)
public java.lang.String getTargetId()
IDeviceCommandInvocationgetTargetId in interface IDeviceCommandInvocationpublic void setTargetId(java.lang.String targetId)
public java.lang.String getCommandToken()
IDeviceCommandInvocationgetCommandToken in interface IDeviceCommandInvocationpublic void setCommandToken(java.lang.String commandToken)
public java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocationgetParameterValues in interface IDeviceCommandInvocationpublic void setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues)
public CommandStatus getStatus()
IDeviceCommandInvocationgetStatus in interface IDeviceCommandInvocationpublic void setStatus(CommandStatus status)
public DeviceCommand getCommand()
public void setCommand(DeviceCommand command)
public java.lang.String getAsHtml()
public void setAsHtml(java.lang.String asHtml)