public enum EndReason extends Enum<EndReason>
| Enum Constant and Description |
|---|
COMMUNICATION_FAILURE |
CONTAINER_STOP_REQUESTED |
KILL_REQUESTED |
SUCCESS |
TASK_ERROR |
TASK_KILL_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
static EndReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndReason SUCCESS
public static final EndReason CONTAINER_STOP_REQUESTED
public static final EndReason KILL_REQUESTED
public static final EndReason TASK_KILL_REQUEST
public static final EndReason COMMUNICATION_FAILURE
public static final EndReason TASK_ERROR
public static EndReason[] values()
for (EndReason c : EndReason.values()) System.out.println(c);
public static EndReason 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.