public static enum TaskUtil.State extends java.lang.Enum<TaskUtil.State>
Enum Constant and Description |
---|
error |
pending |
queued |
suspended_error |
suspended_no_error |
Modifier and Type | Method and Description |
---|---|
static TaskUtil.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskUtil.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskUtil.State queued
public static final TaskUtil.State pending
public static final TaskUtil.State error
public static final TaskUtil.State suspended_no_error
public static final TaskUtil.State suspended_error
public static TaskUtil.State[] values()
for (TaskUtil.State c : TaskUtil.State.values()) System.out.println(c);
public static TaskUtil.State 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