public final class RioSettingImpl<T> extends java.lang.Object implements RioSetting<T>
RioSetting interface.| Constructor and Description |
|---|
RioSettingImpl(java.lang.String key,
java.lang.String description,
T defaultValue)
Create a new setting object that will be used to reference the given
setting.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getDefaultValue()
Returns the default value for this parser setting if it is not set by a
user.
|
java.lang.String |
getDescription()
The human readable name for this parser setting
|
java.lang.String |
getKey()
A unique key for this parser setting.
|
public RioSettingImpl(java.lang.String key,
java.lang.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.public java.lang.String getKey()
RioSettinggetKey in interface RioSetting<T>public java.lang.String getDescription()
RioSettinggetDescription in interface RioSetting<T>public T getDefaultValue()
RioSettinggetDefaultValue in interface RioSetting<T>Copyright © 2001-2014 Aduna. All Rights Reserved.