@InterfaceAudience.Public @InterfaceStability.Unstable public enum ContainerEndReason extends Enum<ContainerEndReason>
Enum Constant and Description |
---|
APPLICATION_ERROR |
COMPLETED |
EXTERNAL_PREEMPTION |
FRAMEWORK_ERROR |
INTERNAL_PREEMPTION |
LAUNCH_FAILED |
NODE_FAILED |
OTHER |
Modifier and Type | Method and Description |
---|---|
static ContainerEndReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerEndReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerEndReason NODE_FAILED
public static final ContainerEndReason INTERNAL_PREEMPTION
public static final ContainerEndReason EXTERNAL_PREEMPTION
public static final ContainerEndReason APPLICATION_ERROR
public static final ContainerEndReason FRAMEWORK_ERROR
public static final ContainerEndReason LAUNCH_FAILED
public static final ContainerEndReason COMPLETED
public static final ContainerEndReason OTHER
public static ContainerEndReason[] values()
for (ContainerEndReason c : ContainerEndReason.values()) System.out.println(c);
public static ContainerEndReason 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 © 2024 Apache Software Foundation. All rights reserved.