Package ch.njol.skript.conditions.base
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>
See
PropertyCondition
for more info-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the condition is in a form ofsomething is/are something
, also possibly in the negated formIndicates that the condition is in a form ofsomething can something
, also possibly in the negated formIndicates that the condition is in a form ofsomething has/have something
, also possibly in the negated form -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PropertyCondition.PropertyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BE
Indicates that the condition is in a form ofsomething is/are something
, also possibly in the negated form -
CAN
Indicates that the condition is in a form ofsomething can something
, also possibly in the negated form -
HAVE
Indicates that the condition is in a form ofsomething has/have something
, also possibly in the negated form
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-