public static enum Task.Status extends Enum<Task.Status>
| Enum Constant and Description |
|---|
CANCELLED
Means that the task has been terminated by an ancestor.
|
FAILED
Means that the task returned a failure result.
|
FRESH
Means that the task has never run or has been reset.
|
RUNNING
Means that the task needs to run again.
|
SUCCEEDED
Means that the task returned a success result.
|
| Modifier and Type | Method and Description |
|---|---|
static Task.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Status FRESH
public static final Task.Status RUNNING
public static final Task.Status FAILED
public static final Task.Status SUCCEEDED
public static final Task.Status CANCELLED
public static Task.Status[] values()
for (Task.Status c : Task.Status.values()) System.out.println(c);
public static Task.Status 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 nullCopyright © 2018. All rights reserved.