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, setSiteToken
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
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 CommandInitiator getInitiator()
IDeviceCommandInvocation
getInitiator
in interface IDeviceCommandInvocation
public void setInitiator(CommandInitiator initiator)
public java.lang.String getInitiatorId()
IDeviceCommandInvocation
getInitiatorId
in interface IDeviceCommandInvocation
public void setInitiatorId(java.lang.String initiatorId)
public CommandTarget getTarget()
IDeviceCommandInvocation
getTarget
in interface IDeviceCommandInvocation
public void setTarget(CommandTarget target)
public java.lang.String getTargetId()
IDeviceCommandInvocation
getTargetId
in interface IDeviceCommandInvocation
public void setTargetId(java.lang.String targetId)
public java.lang.String getCommandToken()
IDeviceCommandInvocation
getCommandToken
in interface IDeviceCommandInvocation
public void setCommandToken(java.lang.String commandToken)
public java.util.Map<java.lang.String,java.lang.String> getParameterValues()
IDeviceCommandInvocation
getParameterValues
in interface IDeviceCommandInvocation
public void setParameterValues(java.util.Map<java.lang.String,java.lang.String> parameterValues)
public CommandStatus getStatus()
IDeviceCommandInvocation
getStatus
in interface IDeviceCommandInvocation
public void setStatus(CommandStatus status)
public DeviceCommand getCommand()
public void setCommand(DeviceCommand command)
public java.lang.String getAsHtml()
public void setAsHtml(java.lang.String asHtml)