public static enum TaskException.Code extends Enum<TaskException.Code>
Enum Constant and Description |
---|
CONFIG_ERROR |
NO_TASK_EXISTS |
TASK_ALREADY_STARTED |
TASK_EXISTS |
TASK_NODE_NOT_AVAILABLE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TaskException.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskException.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskException.Code TASK_EXISTS
public static final TaskException.Code NO_TASK_EXISTS
public static final TaskException.Code TASK_ALREADY_STARTED
public static final TaskException.Code UNKNOWN
public static final TaskException.Code CONFIG_ERROR
public static final TaskException.Code TASK_NODE_NOT_AVAILABLE
public static TaskException.Code[] values()
for (TaskException.Code c : TaskException.Code.values()) System.out.println(c);
public static TaskException.Code 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 © 2022 WSO2. All rights reserved.