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