public interface DeviceTaskStatus 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:
DeviceExecItem
.DeviceExecItem
items in the list.DeviceExecItem
is always present for the execution/evaluation of the groovy script itself.DeviceExecStatus.State
Modifier and Type | Method and Description |
---|---|
DeviceExecItem |
getExecItem(String execItemId)
Returns partial execution report by id.
|
DeviceExecItem[] |
getExecItems()
Returns list of all partial execution reports for this device within the Task.
|
Date |
getFinishTime() |
Date |
getStartTime() |
String |
getTaskId()
Returns the id of Task when this
DeviceExecStatus is related to a Task,
(see methods Task.listInvolvedDevices(DeviceExecStatus.State) . |
void |
retry()
Retries the device execution within the Task.
|
cancel, getDeviceId, getExecAction, getExecName, getExecState, getStateDescription
String getTaskId()
DeviceExecStatus
is related to a Task,
(see methods Task.listInvolvedDevices(DeviceExecStatus.State)
. Task.listInvolvedDevices(DeviceExecStatus.State, int)
,
MassManagementEngine.listTasksForDevice(String, DeviceExecStatus.State, boolean)
and MassManagementEngine.listTasksForDevice(String, DeviceExecStatus.State, boolean, int)
)
or null
when this DeviceExecStatus
is related to Rule,
(see methods Rule.listInvolvedDevices(DeviceExecStatus.State)
, Rule.listInvolvedDevices(DeviceExecStatus.State, int)
, MassManagementEngine.listRulesForDevice(String, DeviceExecStatus.State)
) and MassManagementEngine.listRulesForDevice(String, DeviceExecStatus.State, int)
).DeviceExecItem[] getExecItems()
Date getStartTime()
Date getFinishTime()
DeviceExecItem getExecItem(String execItemId)
execItemId
- execution item id.void retry()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.