Enum Class Conditional.Type

java.lang.Object
java.lang.Enum<Conditional.Type>
dev.foxikle.customnpcs.actions.conditions.Conditional.Type
All Implemented Interfaces:
Serializable, Comparable<Conditional.Type>, Constable
Enclosing interface:
Conditional

public static enum Conditional.Type extends Enum<Conditional.Type>
A list of comparator types
  • Enum Constant Details

    • NUMERIC

      public static final Conditional.Type NUMERIC
      Represents a comparison between a Value and a target value that can be any numeric value.
      See Also:
    • LOGICAL

      public static final Conditional.Type LOGICAL
      Represents a comparison between a Value and a target value with a finite number of possibilities
      See Also:
  • Method Details

    • values

      public static Conditional.Type[] 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 Conditional.Type 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