Class LongRioSetting

All Implemented Interfaces:
Serializable, RioSetting<Long>

public class LongRioSetting extends AbstractRioSetting<Long>
A RioSetting with a Long value. The given default for the setting can be overriden by means of a system property with a name equal to the setting key.
Jeen Broekstra
See Also:
  • Constructor Details

    • LongRioSetting

      public LongRioSetting(String key, String description, Long defaultValue)
  • Method Details

    • convert

      public Long convert(String stringValue)
      Description copied from interface: RioSetting
      Attempts to convert from a string to a type-safe representation based on the generic type of this setting.
      stringValue - a string representation of a value for this setting.
      The corresponding object of type T for the supplied string value.