public static enum DeviceExecItem.State extends Enum<DeviceExecItem.State>
Enum Constant and Description |
---|
FINISHED_CANCELED
Marks that execution item is finished in result of canceling, i.e., execution is not naturally complete.
|
FINISHED_ERROR
Marks that execution item is completed and result status is: error.
|
FINISHED_SUCCESS
Marks that execution item is completed and result status is: success.
|
FINISHED_WARNING
Marks that execution item is completed and result status is: warning.
|
RUNNING_NOT_READY_TO_EXECUTE
Marks the execution as not started since the target device is not ready to perform the supplied action.
|
RUNNING_PENDING_EXECUTION
Marks the execution as processed by the system and is pending to be started.
|
RUNNING_SCHEDULED_FOR_FUTURE
Marks the execution as postponed for the future due to task-constraint limitations of the Task this execution item belongs to.
|
RUNNING_WAIT_CONCURRENCY
Marks the execution as not started, but waiting some other execution items to complete
due to concurrency limit restrictions of the Task.
|
RUNNING_WAIT_CONFIRMATION
Marks the execution as started and response is waited for the execution result.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined status.
|
static DeviceExecItem.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceExecItem.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceExecItem.State FINISHED_SUCCESS
public static final DeviceExecItem.State FINISHED_WARNING
public static final DeviceExecItem.State FINISHED_ERROR
public static final DeviceExecItem.State FINISHED_CANCELED
public static final DeviceExecItem.State RUNNING_PENDING_EXECUTION
public static final DeviceExecItem.State RUNNING_WAIT_CONFIRMATION
public static final DeviceExecItem.State RUNNING_SCHEDULED_FOR_FUTURE
public static final DeviceExecItem.State RUNNING_WAIT_CONCURRENCY
public static final DeviceExecItem.State RUNNING_NOT_READY_TO_EXECUTE
public static DeviceExecItem.State[] values()
for (DeviceExecItem.State c : DeviceExecItem.State.values()) System.out.println(c);
public static DeviceExecItem.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.