Class IntegerSetting
- java.lang.Object
-
- com.djrapitops.plan.settings.config.paths.key.Setting<java.lang.Integer>
-
- com.djrapitops.plan.settings.config.paths.key.IntegerSetting
-
public class IntegerSetting extends Setting<java.lang.Integer>
Setting implementation for String value settings.
-
-
Constructor Summary
Constructors Constructor Description IntegerSetting(java.lang.String path)
IntegerSetting(java.lang.String path, java.util.function.Predicate<java.lang.Integer> validator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
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.Integer getValueFrom(ConfigNode node)
- Specified by:
getValueFrom
in classSetting<java.lang.Integer>
-
-