Enum RuleScope

java.lang.Object
java.lang.Enum<RuleScope>
org.evrete.api.RuleScope
All Implemented Interfaces:
Serializable, Comparable<RuleScope>, java.lang.constant.Constable

public enum RuleScope extends Enum<RuleScope>

A category for abstract instances that can be applied to rule's left-hand side (LHS, selection and condition), right-hand side (RHS, or action) or both. A class import, for example, can apply to either of these enum types.

  • Enum Constant Details

  • Method Details

    • values

      public static RuleScope[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RuleScope valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null