public enum ExecutionState extends Enum<ExecutionState>
| Enum Constant and Description |
|---|
ASSIGNED
The task has been assigned a resource to run, but is not yet read to by deployed.
|
CANCELED
The task has been canceled due to a user request or the error of a connected task.
|
CANCELING
The task has been requested to be canceled, but is not yet terminated.
|
CREATED
The task has been created, but is not yet submitted to a scheduler.
|
FAILED
The task has been aborted due to a failure during execution.
|
FINISHED
The task finished, all of its results have been consumed.
|
FINISHING
The task has already finished, but not all of its results have been consumed yet.
|
READY
The task has been announced ready to run by the scheduler, but is not yet running.
|
RUNNING
The task is currently running.
|
SCHEDULED
The task has been accepted by the scheduler, the resource for the task has been requested
|
STARTING
The task is currently deployed to the assigned to task manager.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionState CREATED
public static final ExecutionState SCHEDULED
public static final ExecutionState ASSIGNED
public static final ExecutionState READY
public static final ExecutionState STARTING
public static final ExecutionState RUNNING
public static final ExecutionState FINISHING
public static final ExecutionState FINISHED
public static final ExecutionState CANCELING
public static final ExecutionState CANCELED
public static final ExecutionState FAILED
public static ExecutionState[] values()
for (ExecutionState c : ExecutionState.values()) System.out.println(c);
public static ExecutionState 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 The Apache Software Foundation. All rights reserved.