public static enum ExecutionLog.TaskState extends Enum<ExecutionLog.TaskState>
RUNNING state, and when the task is complete, transitions to either the SUCCESS
or FAILURE states, depending of whether the task was successful or not.| Modifier and Type | Method and Description |
|---|---|
static ExecutionLog.TaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionLog.TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionLog.TaskState RUNNING
public static final ExecutionLog.TaskState SUCCESS
public static final ExecutionLog.TaskState FAILURE
public static ExecutionLog.TaskState[] values()
for (ExecutionLog.TaskState c : ExecutionLog.TaskState.values()) System.out.println(c);
public static ExecutionLog.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 © 2018 FenixEdu. All rights reserved.