java.io.Serializable, java.lang.Comparable<CMgrCompletedAppsEvent.Reason>public static enum CMgrCompletedAppsEvent.Reason extends java.lang.Enum<CMgrCompletedAppsEvent.Reason>
| Enum Constant | Description |
|---|---|
BY_RESOURCEMANAGER |
Application is killed by ResourceManager
|
ON_SHUTDOWN |
Application is killed as NodeManager is shut down
|
| Modifier and Type | Method | Description |
|---|---|---|
static CMgrCompletedAppsEvent.Reason |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CMgrCompletedAppsEvent.Reason[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CMgrCompletedAppsEvent.Reason ON_SHUTDOWN
public static final CMgrCompletedAppsEvent.Reason BY_RESOURCEMANAGER
public static CMgrCompletedAppsEvent.Reason[] values()
for (CMgrCompletedAppsEvent.Reason c : CMgrCompletedAppsEvent.Reason.values()) System.out.println(c);
public static CMgrCompletedAppsEvent.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.