public enum StoppingConditionEnabled extends Enum<StoppingConditionEnabled> implements Enumeration
StoppingCondition
.Enum Constant and Description |
---|
DISABLED
The
StoppingCondition is completely disabled and events will not be found. |
DISABLED_BUT_STILL_FIND_EVENTS
The
StoppingCondition will not stop propagation,
but events will still be found and logged. |
ENABLED
The
StoppingCondition is enabled and events will be found normally. |
Modifier and Type | Method and Description |
---|---|
static StoppingConditionEnabled |
getDefault()
Get the enum constant that is considered to be the default.
|
static StoppingConditionEnabled |
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 StoppingConditionEnabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoppingConditionEnabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoppingConditionEnabled ENABLED
StoppingCondition
is enabled and events will be found normally.public static final StoppingConditionEnabled DISABLED_BUT_STILL_FIND_EVENTS
StoppingCondition
will not stop propagation,
but events will still be found and logged.public static final StoppingConditionEnabled DISABLED
StoppingCondition
is completely disabled and events will not be found.public static StoppingConditionEnabled[] values()
for (StoppingConditionEnabled c : StoppingConditionEnabled.values()) System.out.println(c);
public static StoppingConditionEnabled 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 StoppingConditionEnabled getFromValue(int value)
value
- a numeric value.@Nonnull public static StoppingConditionEnabled getDefault()