Class TimeSetting
java.lang.Object
com.djrapitops.plan.settings.config.paths.key.Setting<Long>
com.djrapitops.plan.settings.config.paths.key.TimeSetting
Setting implementation for settings that use
TimeUnit
under the value.
All values return milliseconds.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTimeSetting
(String path) TimeSetting
(String path, Long defaultValue) TimeSetting
(String path, Predicate<Long> validator) TimeSetting
(String path, Predicate<Long> validator, Long defaultValue) -
Method Summary
Methods inherited from class com.djrapitops.plan.settings.config.paths.key.Setting
getDefaultValue, getPath, isInvalid, isValid, nullValidator, timeValidator, toString
-
Constructor Details
-
TimeSetting
-
TimeSetting
-
TimeSetting
-
TimeSetting
-
-
Method Details
-
getValueFrom
- Specified by:
getValueFrom
in classSetting<Long>
-