public static enum TaskResult.Status extends java.lang.Enum<TaskResult.Status>
| Enum Constant and Description |
|---|
COMPLETED |
FAILED |
IN_PROGRESS |
SCHEDULED |
| Modifier and Type | Method and Description |
|---|---|
static TaskResult.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskResult.Status IN_PROGRESS
public static final TaskResult.Status FAILED
public static final TaskResult.Status COMPLETED
public static final TaskResult.Status SCHEDULED
public static TaskResult.Status[] values()
for (TaskResult.Status c : TaskResult.Status.values()) System.out.println(c);
public static TaskResult.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null