Class BooleanSetting
- java.lang.Object
-
- com.djrapitops.plan.settings.config.paths.key.Setting<java.lang.Boolean>
-
- com.djrapitops.plan.settings.config.paths.key.BooleanSetting
-
public class BooleanSetting extends Setting<java.lang.Boolean>
Setting implementation for String value settings.
-
-
Constructor Summary
Constructors Constructor Description BooleanSetting(java.lang.String path)
BooleanSetting(java.lang.String path, java.util.function.Predicate<java.lang.Boolean> validator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
getValueFrom(ConfigNode node)
-
Methods inherited from class com.djrapitops.plan.settings.config.paths.key.Setting
getDefaultValue, getPath, isInvalid, isValid, nullValidator, timeValidator, toString
-
-
-
-
Method Detail
-
getValueFrom
public java.lang.Boolean getValueFrom(ConfigNode node)
- Specified by:
getValueFrom
in classSetting<java.lang.Boolean>
-
-