Enum Class RulesetStatus

java.lang.Object
java.lang.Enum<RulesetStatus>
org.openremote.model.rules.RulesetStatus
All Implemented Interfaces:
Serializable, Comparable<RulesetStatus>, Constable

public enum RulesetStatus extends Enum<RulesetStatus>
  • Enum Constant Details

    • READY

      public static final RulesetStatus READY
      Ruleset compiled successfully but is not running, due to failure of other rulesets in same scope.
    • DEPLOYED

      public static final RulesetStatus DEPLOYED
      Ruleset has been compiled and can be executed.
    • COMPILATION_ERROR

      public static final RulesetStatus COMPILATION_ERROR
      Ruleset did not compile successfully and can not be executed.
    • VALIDITY_PERIOD_ERROR

      public static final RulesetStatus VALIDITY_PERIOD_ERROR
      Validity period is not valid
    • EXECUTION_ERROR

      public static final RulesetStatus EXECUTION_ERROR
      Ruleset was executed but there was a runtime error.
    • LOOP_ERROR

      public static final RulesetStatus LOOP_ERROR
      Ruleset caused a loop whilst being executed.
    • DISABLED

      public static final RulesetStatus DISABLED
      Ruleset has been disabled.
    • PAUSED

      public static final RulesetStatus PAUSED
      Ruleset is outside of validity period but will be valid again in the future.
    • EXPIRED

      public static final RulesetStatus EXPIRED
      Ruleset is outside of validity period and will nt be valid again.
    • REMOVED

      public static final RulesetStatus REMOVED
      Ruleset has been removed.
    • EMPTY

      public static final RulesetStatus EMPTY
      Contains no rules
  • Method Details

    • values

      public static RulesetStatus[] 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

      public static RulesetStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null