public static enum AppmasterStateListener.AppmasterState extends java.lang.Enum<AppmasterStateListener.AppmasterState>
Enum Constant and Description |
---|
COMPLETED
Appmaster completed state
|
FAILED
Appmaster failed state
|
Modifier and Type | Method and Description |
---|---|
static AppmasterStateListener.AppmasterState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppmasterStateListener.AppmasterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppmasterStateListener.AppmasterState COMPLETED
public static final AppmasterStateListener.AppmasterState FAILED
public static AppmasterStateListener.AppmasterState[] values()
for (AppmasterStateListener.AppmasterState c : AppmasterStateListener.AppmasterState.values()) System.out.println(c);
public static AppmasterStateListener.AppmasterState 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 null