public static enum CMgrCompletedAppsEvent.Reason extends Enum<CMgrCompletedAppsEvent.Reason>
| Enum Constant and Description |
|---|
BY_RESOURCEMANAGER
Application is killed by ResourceManager
|
ON_SHUTDOWN
Application is killed as NodeManager is shut down
|
| Modifier and Type | Method and Description |
|---|---|
static CMgrCompletedAppsEvent.Reason |
valueOf(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(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 © 2008–2022 Apache Software Foundation. All rights reserved.