Class ConfigValue.BooleanValue
- Enclosing class:
ConfigValue<T>
Boolean value.
-
Nested Class Summary
Nested classes/interfaces inherited from class ConfigValue
ConfigValue.BooleanValue, ConfigValue.DoubleValue, ConfigValue.EnumValue<E>, ConfigValue.IntegerValue, ConfigValue.LongValue, ConfigValue.StringListValue, ConfigValue.StringValue -
Constructor Summary
ConstructorsConstructorDescriptionBooleanValue(String category, String key, boolean defaultValue, String description) -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleanValidates (and possibly normalises) a value; throws when unacceptable for code-driven sets.protected Booleandeserialize(com.google.gson.JsonElement element) kind()protected com.google.gson.JsonElementMethods inherited from class ConfigValue
category, description, get, getDefault, isDefault, key, onChange, reset, set, validate
-
Constructor Details
-
BooleanValue
-
-
Method Details
-
kind
- Specified by:
kindin classConfigValue<Boolean>
-
check
Description copied from class:ConfigValueValidates (and possibly normalises) a value; throws when unacceptable for code-driven sets.- Specified by:
checkin classConfigValue<Boolean>
-
serialize
- Specified by:
serializein classConfigValue<Boolean>
-
deserialize
- Specified by:
deserializein classConfigValue<Boolean>
-