public enum WorkStatus extends Enum<WorkStatus>
| Enum Constant and Description |
|---|
FAILED
Indicates that the task has finished with failed outcome.
|
FINISHED
Indicates that the task has finished.
|
PENDING
Indicates that the task has not been executed yet.
|
RUNNING
Indicates that the task is running.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkStatus PENDING
public static final WorkStatus RUNNING
public static final WorkStatus FINISHED
public static final WorkStatus FAILED
public static WorkStatus[] values()
for (WorkStatus c : WorkStatus.values()) System.out.println(c);
public static WorkStatus 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 nullThis documentation is licensed by Andrew Bowley under the GPLv3 License.