Package org.openremote.model.rules
Enum Class RulesetStatus
- All Implemented Interfaces:
Serializable
,Comparable<RulesetStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRuleset did not compile successfully and can not be executed.Ruleset has been compiled and can be executed.Ruleset has been disabled.Contains no rulesRuleset was executed but there was a runtime error.Ruleset is outside of validity period and will nt be valid again.Ruleset caused a loop whilst being executed.Ruleset is outside of validity period but will be valid again in the future.Ruleset compiled successfully but is not running, due to failure of other rulesets in same scope.Ruleset has been removed.Validity period is not valid -
Method Summary
Modifier and TypeMethodDescriptionstatic RulesetStatus
Returns the enum constant of this class with the specified name.static RulesetStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READY
Ruleset compiled successfully but is not running, due to failure of other rulesets in same scope. -
DEPLOYED
Ruleset has been compiled and can be executed. -
COMPILATION_ERROR
Ruleset did not compile successfully and can not be executed. -
VALIDITY_PERIOD_ERROR
Validity period is not valid -
EXECUTION_ERROR
Ruleset was executed but there was a runtime error. -
LOOP_ERROR
Ruleset caused a loop whilst being executed. -
DISABLED
Ruleset has been disabled. -
PAUSED
Ruleset is outside of validity period but will be valid again in the future. -
EXPIRED
Ruleset is outside of validity period and will nt be valid again. -
REMOVED
Ruleset has been removed. -
EMPTY
Contains no rules
-
-
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
-