public interface ISettingDefinition<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name of this setting
|
ISettingsCollection |
getSettingsCollection()
Retrieves the settings collection containing this setting definition.
|
java.lang.Class<T> |
getType()
Get the type of this setting
|
T |
getTypedValueFromString(java.lang.String str,
T defaultValue)
Convert the given string to the object value as applicable for this setting definition.
|
T |
getValue()
Get the value of this setting
|
T getValue()
java.lang.String getName()
T getTypedValueFromString(java.lang.String str, T defaultValue)
str
- the string to convertdefaultValue
- the default value in case the string is a null stringISettingsCollection getSettingsCollection()
java.lang.Class<T> getType()