Enum Class PropertyCondition.PropertyType

java.lang.Object
java.lang.Enum<PropertyCondition.PropertyType>
ch.njol.skript.conditions.base.PropertyCondition.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyCondition.PropertyType>, Constable
Enclosing class:
PropertyCondition<T>

public static enum PropertyCondition.PropertyType extends Enum<PropertyCondition.PropertyType>
See PropertyCondition for more info
  • Enum Constant Details

    • BE

      public static final PropertyCondition.PropertyType BE
      Indicates that the condition is in a form of something is/are something, also possibly in the negated form
    • CAN

      public static final PropertyCondition.PropertyType CAN
      Indicates that the condition is in a form of something can something, also possibly in the negated form
    • HAVE

      public static final PropertyCondition.PropertyType HAVE
      Indicates that the condition is in a form of something has/have something, also possibly in the negated form
  • Method Details

    • values

      public static PropertyCondition.PropertyType[] 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 PropertyCondition.PropertyType 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