public static enum ScalingActionContext.ActionType extends java.lang.Enum<ScalingActionContext.ActionType>
Enum Constant and Description |
---|
CREATE_SERVER
An additional server should be provisioned to meet demand or meet policy
|
START_SERVER
An additional server should be started to meet demand or meet policy
|
STOP_SERVER
A started server should be stopped due to lower demand
|
Modifier and Type | Method and Description |
---|---|
static ScalingActionContext.ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScalingActionContext.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalingActionContext.ActionType START_SERVER
public static final ScalingActionContext.ActionType CREATE_SERVER
public static final ScalingActionContext.ActionType STOP_SERVER
public static ScalingActionContext.ActionType[] values()
for (ScalingActionContext.ActionType c : ScalingActionContext.ActionType.values()) System.out.println(c);
public static ScalingActionContext.ActionType 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