Enum Class State
- All Implemented Interfaces:
Serializable,Comparable<State>,Constable
Those states are referring to the rule execution, not to the state of the rule itself.
For rule states, refer to the RuleState class.
- See Also:
-
RuleState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisErrorState(String stateString) static booleanisSuccessState(String stateString) static StateReturns the enum constant of this class with the specified name.static State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
-
CONFIG_CHANGE
-
NO_ACTIONS_PERFORMED
-
IN_PROGRESS
-
SOME_ERRORS
-
FAILURE
-
THROTTLED
-
LOOP
-
ABORTED
-
-
Field Details
-
SUCCESS_STATES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isErrorState
-
isSuccessState
-