T - the setting typepublic abstract class AbstractRioSetting<T> extends Object implements RioSetting<T>
RioSetting. Includes base functionality for reading default values from system properties.| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractRioSetting(String key,
                  String description,
                  T defaultValue)Create a new setting object that will be used to reference the given setting. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| T | getDefaultValue()Returns the default value for this parser setting if it is not set by a user. | 
| String | getDescription()The human readable name for this parser setting | 
| String | getKey()A unique key for this parser setting. | 
| int | hashCode() | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitconvertprotected AbstractRioSetting(String key, String description, T defaultValue)
key - A unique key to use for this setting.description - A short human-readable description for this setting.defaultValue - An immutable value specifying the default for this setting. This can be optionally be
                     overridden by a system property with a name equal to the setting's unique key.public String getKey()
RioSettinggetKey in interface RioSetting<T>public String getDescription()
RioSettinggetDescription in interface RioSetting<T>public T getDefaultValue()
RioSettinggetDefaultValue in interface RioSetting<T>Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.