@InterfaceAudience.Public @InterfaceStability.Evolving public static enum TaskCompletionEvent.Status extends Enum<TaskCompletionEvent.Status>
Enum Constant and Description |
---|
FAILED
Task Event Attempt failed but there are attempts remaining.
|
KILLED
Task Event was killed.
|
OBSOLETE
Used to Override a previously successful event status.
|
SUCCEEDED
Task Event was successful.
|
TIPFAILED
Task Event attempt failed and no further attempts exist.
|
Modifier and Type | Method and Description |
---|---|
static TaskCompletionEvent.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskCompletionEvent.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskCompletionEvent.Status FAILED
public static final TaskCompletionEvent.Status KILLED
public static final TaskCompletionEvent.Status SUCCEEDED
public static final TaskCompletionEvent.Status OBSOLETE
public static final TaskCompletionEvent.Status TIPFAILED
public static TaskCompletionEvent.Status[] values()
for (TaskCompletionEvent.Status c : TaskCompletionEvent.Status.values()) System.out.println(c);
public static TaskCompletionEvent.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 © 2017 Apache Software Foundation. All rights reserved.