@InterfaceAudience.Public @InterfaceStability.Evolving public static enum TaskCompletionEvent.Status extends Enum<TaskCompletionEvent.Status>
Enum Constant and Description |
---|
FAILED |
KILLED |
OBSOLETE |
SUCCEEDED |
TIPFAILED |
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 © 2014 Apache Software Foundation. All Rights Reserved.