T
- The type of key.public static interface NucleusUserPreferenceService.PreferenceKey<T>
NucleusUserPreferenceService.PreferenceKey
Keys will only be accepted by the Nucleus system that are generated by it.
Modifier and Type | Method and Description |
---|---|
java.util.Optional<T> |
getDefaultValue()
The default value for a preference, if any.
|
java.lang.String |
getID()
The ID of the key.
|
java.lang.Class<T> |
getValueClass()
The type of value.
|
java.lang.String getID()
java.util.Optional<T> getDefaultValue()
java.lang.Class<T> getValueClass()
Class