public enum RMAppState extends Enum<RMAppState>
Enum Constant and Description |
---|
ACCEPTED |
FAILED |
FINAL_SAVING |
FINISHED |
FINISHING |
KILLED |
KILLING |
NEW |
NEW_SAVING |
RUNNING |
SUBMITTED |
Modifier and Type | Method and Description |
---|---|
static RMAppState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMAppState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAppState NEW
public static final RMAppState NEW_SAVING
public static final RMAppState SUBMITTED
public static final RMAppState ACCEPTED
public static final RMAppState RUNNING
public static final RMAppState FINAL_SAVING
public static final RMAppState FINISHING
public static final RMAppState FINISHED
public static final RMAppState FAILED
public static final RMAppState KILLING
public static final RMAppState KILLED
public static RMAppState[] values()
for (RMAppState c : RMAppState.values()) System.out.println(c);
public static RMAppState 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–2021 Apache Software Foundation. All rights reserved.