public static enum TaskThread.Status extends Enum<TaskThread.Status>
Enum Constant and Description |
---|
CANCELLED |
CANCELLING |
COMPLETED |
FAILED |
NOT_STARTED |
PAUSED |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static TaskThread.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskThread.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskThread.Status NOT_STARTED
public static final TaskThread.Status RUNNING
public static final TaskThread.Status PAUSED
public static final TaskThread.Status CANCELLING
public static final TaskThread.Status CANCELLED
public static final TaskThread.Status COMPLETED
public static final TaskThread.Status FAILED
public static TaskThread.Status[] values()
for (TaskThread.Status c : TaskThread.Status.values()) System.out.println(c);
public static TaskThread.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 © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.