public interface DeviceRuleStatus extends DeviceExecStatus
DeviceExecStatus.getExecState()) is a summary of
all DeviceExecItem-s reported for this device. Partial executions - represented by each DeviceExecItem from the
contained list - are produced by different sub-executions from the Task-action groovy script:
method executions to Script Services may produce result report, each of which would be represented as DeviceExecItem.
closures executions produce separated DeviceExecItem items in the list.
one DeviceExecItem is always present for the execution/evaluation of the groovy script itself.DeviceExecStatus.State| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRuleId()
Returns the id of Rule when this
DeviceExecStatus is related to a Rule,
(see methods Rule#listInvolvedDevices(State), Rule.getInvolvedDeviceState(String, String)
and RuleEngine#listRulesForDevice(String, String, State)),
or null when this DeviceExecStatus is related to Task,
(see methods Task#listInvolvedDevices(State), Task.getInvolvedDeviceState(String, String)
and RuleEngine#listTasksForDevice(String, String, State)). |
<any> |
listTasks()
Retrieves a list of all device task statuses for the Tasks originated from this Rule, in which the device has been involved.
|
cancel, getDeviceId, getDeviceType, getExecAction, getExecName, getExecState, getStateDescriptionjava.lang.String getRuleId()
DeviceExecStatus is related to a Rule,
(see methods Rule#listInvolvedDevices(State), Rule.getInvolvedDeviceState(String, String)
and RuleEngine#listRulesForDevice(String, String, State)),
or null when this DeviceExecStatus is related to Task,
(see methods Task#listInvolvedDevices(State), Task.getInvolvedDeviceState(String, String)
and RuleEngine#listTasksForDevice(String, String, State)).<any> listTasks()
throws ManagementException
ManagementException - if system error occursCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.