public enum ChangeStoppingConditionOption extends Enum<ChangeStoppingConditionOption> implements Enumeration
StoppingCondition
for the
ChangeStoppingConditionEnabledOperator
Enum Constant and Description |
---|
SET_TO_DISABLE_BUT_STILL_FIND_EVENTS
|
SET_TO_DISABLED
|
SET_TO_ENABLED
|
TOGGLE
Set the
Enabled (get / set ) to StoppingConditionEnabled.ENABLED
if it is currently one of the disabled options, or to StoppingConditionEnabled.DISABLED
if it is currently StoppingConditionEnabled.ENABLED . |
Modifier and Type | Method and Description |
---|---|
static ChangeStoppingConditionOption |
getDefault()
Get the enum constant that is considered to be the default.
|
static ChangeStoppingConditionOption |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static ChangeStoppingConditionOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangeStoppingConditionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeStoppingConditionOption SET_TO_ENABLED
public static final ChangeStoppingConditionOption SET_TO_DISABLED
public static final ChangeStoppingConditionOption SET_TO_DISABLE_BUT_STILL_FIND_EVENTS
public static final ChangeStoppingConditionOption TOGGLE
Enabled
(get
/ set
) to StoppingConditionEnabled.ENABLED
if it is currently one of the disabled options, or to StoppingConditionEnabled.DISABLED
if it is currently StoppingConditionEnabled.ENABLED
.public static ChangeStoppingConditionOption[] values()
for (ChangeStoppingConditionOption c : ChangeStoppingConditionOption.values()) System.out.println(c);
public static ChangeStoppingConditionOption 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static ChangeStoppingConditionOption getFromValue(int value)
value
- a numeric value.@Nonnull public static ChangeStoppingConditionOption getDefault()