Package org.spongepowered.api.state
Interface EnumStateProperty<E extends Comparable<E> & StringRepresentable>
- All Superinterfaces:
Nameable
,StateProperty<E>
@CatalogedBy(EnumStateProperties.class)
public interface EnumStateProperty<E extends Comparable<E> & StringRepresentable>
extends StateProperty<E>
Represents a type of
StateProperty
that accepts an unknown Enum
set of values. Due to type erasure and implementation, most all enum types
may not be exposed in the API.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Comparable<E> & StringRepresentable>
EnumStateProperty<E> Methods inherited from interface org.spongepowered.api.state.StateProperty
parseValue, possibleValues, predicate, valueClass
-
Method Details
-
of
-