public static enum TaskProgress.State extends Enum<TaskProgress.State>
Enum Constant and Description |
---|
ERROR_STATE
ERROR_STATE
|
FINISHED
FINISHED
|
NEW
NEW
|
RUNNING
RUNNING
|
Modifier and Type | Method and Description |
---|---|
static TaskProgress.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskProgress.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskProgress.State NEW
public static final TaskProgress.State RUNNING
public static final TaskProgress.State FINISHED
public static final TaskProgress.State ERROR_STATE
public static TaskProgress.State[] values()
for (TaskProgress.State c : TaskProgress.State.values()) System.out.println(c);
public static TaskProgress.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 null