public static enum ScalingActionContext.ActionDecision extends java.lang.Enum<ScalingActionContext.ActionDecision>
Enum Constant and Description |
---|
CANDIDATE_SELECTED
For this decision, the scaling listener identifies which candidate or candidates are acceptable
for this action using the list returned by
ScalingActionContext.getCandidates . |
DEFAULT_ACTION
The scaling controller should resolve the action in the default manner.
|
SELF_ACTION
The scaling listener will handle the scaling action.
|
Modifier and Type | Method and Description |
---|---|
static ScalingActionContext.ActionDecision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScalingActionContext.ActionDecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalingActionContext.ActionDecision CANDIDATE_SELECTED
ScalingActionContext.getCandidates
. The scaling
controller will use the approved candidates list for the action.public static final ScalingActionContext.ActionDecision SELF_ACTION
public static final ScalingActionContext.ActionDecision DEFAULT_ACTION
public static ScalingActionContext.ActionDecision[] values()
for (ScalingActionContext.ActionDecision c : ScalingActionContext.ActionDecision.values()) System.out.println(c);
public static ScalingActionContext.ActionDecision 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