Class TimeSetting


  • public class TimeSetting
    extends Setting<java.lang.Long>
    Setting implementation for settings that use TimeUnit under the value.

    All values return milliseconds.

    • Constructor Detail

      • TimeSetting

        public TimeSetting​(java.lang.String path)
      • TimeSetting

        public TimeSetting​(java.lang.String path,
                           java.lang.Long defaultValue)
      • TimeSetting

        public TimeSetting​(java.lang.String path,
                           java.util.function.Predicate<java.lang.Long> validator)
      • TimeSetting

        public TimeSetting​(java.lang.String path,
                           java.util.function.Predicate<java.lang.Long> validator,
                           java.lang.Long defaultValue)