public enum RMAppEventType extends Enum<RMAppEventType>
Enum Constant and Description |
---|
APP_ACCEPTED |
APP_NEW_SAVED |
APP_REJECTED |
APP_RUNNING_ON_NODE |
APP_UPDATE_SAVED |
ATTEMPT_FAILED |
ATTEMPT_FINISHED |
ATTEMPT_KILLED |
ATTEMPT_REGISTERED |
ATTEMPT_UNREGISTERED |
KILL |
MOVE |
NODE_UPDATE |
RECOVER |
START |
Modifier and Type | Method and Description |
---|---|
static RMAppEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMAppEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAppEventType START
public static final RMAppEventType RECOVER
public static final RMAppEventType KILL
public static final RMAppEventType MOVE
public static final RMAppEventType APP_REJECTED
public static final RMAppEventType APP_ACCEPTED
public static final RMAppEventType ATTEMPT_REGISTERED
public static final RMAppEventType ATTEMPT_UNREGISTERED
public static final RMAppEventType ATTEMPT_FINISHED
public static final RMAppEventType ATTEMPT_FAILED
public static final RMAppEventType ATTEMPT_KILLED
public static final RMAppEventType NODE_UPDATE
public static final RMAppEventType APP_RUNNING_ON_NODE
public static final RMAppEventType APP_NEW_SAVED
public static final RMAppEventType APP_UPDATE_SAVED
public static RMAppEventType[] values()
for (RMAppEventType c : RMAppEventType.values()) System.out.println(c);
public static RMAppEventType 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 © 2017 Apache Software Foundation. All Rights Reserved.