public static enum TaskInfo.State extends Enum<TaskInfo.State>
| Enum Constant and Description |
|---|
FINISHED |
HAD_EXCEPTION |
NOT_SPECIFIED |
PENDING |
RUNNING |
WAS_INTERRUPTED |
| Modifier and Type | Method and Description |
|---|---|
static TaskInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskInfo.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskInfo.State NOT_SPECIFIED
public static final TaskInfo.State PENDING
public static final TaskInfo.State RUNNING
public static final TaskInfo.State HAD_EXCEPTION
public static final TaskInfo.State WAS_INTERRUPTED
public static final TaskInfo.State FINISHED
public static TaskInfo.State[] values()
for (TaskInfo.State c : TaskInfo.State.values()) System.out.println(c);
public static TaskInfo.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 nullCopyright © 2014–2015. All rights reserved.