public enum CepActivationStates extends java.lang.Enum<CepActivationStates> implements ActivationState
ActivationStates of an EventPattern. The states capture states when a rule engine should consider
a given EventPattern being activated or not - e.g. when the pattern gets matched.ActivationState.DynamicActivationState| Modifier and Type | Method and Description |
|---|---|
boolean |
isInactive() |
static CepActivationStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CepActivationStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CepActivationStates INACTIVE
public static final CepActivationStates ACTIVE
public static CepActivationStates[] values()
for (CepActivationStates c : CepActivationStates.values()) System.out.println(c);
public static CepActivationStates 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 nullpublic boolean isInactive()
isInactive in interface ActivationState