public class BooleanSetting extends Setting<java.lang.Boolean>
Constructor and Description |
---|
BooleanSetting(java.lang.String path) |
BooleanSetting(java.lang.String path,
java.util.function.Predicate<java.lang.Boolean> validator) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getValueFrom(ConfigNode node) |
getPath, isValid, nullValidator, timeValidator, toString
public BooleanSetting(java.lang.String path)
public BooleanSetting(java.lang.String path, java.util.function.Predicate<java.lang.Boolean> validator)
public java.lang.Boolean getValueFrom(ConfigNode node)
getValueFrom
in class Setting<java.lang.Boolean>