Enum Class LogicOperator

java.lang.Object
java.lang.Enum<LogicOperator>
sfs3.client.entities.match.LogicOperator
All Implemented Interfaces:
Serializable, Comparable<LogicOperator>, Constable

public enum LogicOperator extends Enum<LogicOperator>
The LogicOperator class is used to concatenate two matching expressions using the AND or OR logical operator.
See Also:
  • Enum Constant Details

    • AND

      public static final LogicOperator AND
      An instance of LogicOperator representing the AND logical operator.
    • OR

      public static final LogicOperator OR
      An instance of LogicOperator representing the OR logical operator.
  • Method Details

    • values

      public static LogicOperator[] 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 LogicOperator 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
    • getId

      public String getId()
      Returns the id of the current LogicOperator instance. It can be the string "AND" or "OR".