public static enum DeviceExecStatus.State extends Enum<DeviceExecStatus.State>
Enum Constant and Description |
---|
ANY
This value unites completely all statuses and could be used as parameter in
(see Task#getInvolvedDeviceStatuses(DeviceExecRecord.ExecStatus) to retrieve
all
DeviceExecStatus records, regardless of the completion status. |
FINISHED
This value unites all FINISHED_xxx values and could be used only as parameter for filtering the
DeviceExecStatus records (see Task#getInvolvedDeviceStatuses(DeviceExecRecord.ExecStatus). |
FINISHED_CANCELED
he device execution has been explicitly canceled.
|
FINISHED_ERROR
The device has finished its execution with errors.
|
FINISHED_SUCCESS
The device has finished its execution with success.
|
FINISHED_WARNING
The device has finished its execution with warnings.
|
RUNNING
The device is currently executing the Task.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined status.
|
static DeviceExecStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceExecStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceExecStatus.State FINISHED_SUCCESS
public static final DeviceExecStatus.State FINISHED_WARNING
public static final DeviceExecStatus.State FINISHED_ERROR
public static final DeviceExecStatus.State FINISHED_CANCELED
public static final DeviceExecStatus.State RUNNING
public static final DeviceExecStatus.State FINISHED
DeviceExecStatus
records (see Task#getInvolvedDeviceStatuses(DeviceExecRecord.ExecStatus).public static final DeviceExecStatus.State ANY
DeviceExecStatus
records, regardless of the completion status.public static DeviceExecStatus.State[] values()
for (DeviceExecStatus.State c : DeviceExecStatus.State.values()) System.out.println(c);
public static DeviceExecStatus.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.