Enum Class EventValueRegistry.Flag
java.lang.Object
java.lang.Enum<EventValueRegistry.Flag>
org.skriptlang.skript.bukkit.lang.eventvalue.EventValueRegistry.Flag
- All Implemented Interfaces:
Serializable,Comparable<EventValueRegistry.Flag>,Constable
- Enclosing interface:
EventValueRegistry
Flags used during event value resolution.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow converters to be used to satisfy the requested value type.If resolution fails for the requested time state, fall back to the default time state (NOW). -
Method Summary
Modifier and TypeMethodDescriptionstatic EventValueRegistry.FlagReturns the enum constant of this class with the specified name.static EventValueRegistry.Flag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FALLBACK_TO_DEFAULT_TIME_STATE
If resolution fails for the requested time state, fall back to the default time state (NOW). -
ALLOW_CONVERSION
Allow converters to be used to satisfy the requested value type.
-
-
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
-