public static enum TaskManager.TaskState extends Enum<TaskManager.TaskState>
Enum Constant and Description |
---|
BLOCKED |
ERROR |
FINISHED |
NONE |
NORMAL |
PAUSED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TaskManager.TaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskManager.TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskManager.TaskState NORMAL
public static final TaskManager.TaskState PAUSED
public static final TaskManager.TaskState ERROR
public static final TaskManager.TaskState FINISHED
public static final TaskManager.TaskState NONE
public static final TaskManager.TaskState BLOCKED
public static final TaskManager.TaskState UNKNOWN
public static TaskManager.TaskState[] values()
for (TaskManager.TaskState c : TaskManager.TaskState.values()) System.out.println(c);
public static TaskManager.TaskState 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 © 2017 WSO2. All rights reserved.