public abstract class BasicOption<T> extends Object implements Option<T>, PreferenceableOption<T>
PreferenceableOption.Listener, PreferenceableOption.PreferenceableOption2<T>| Modifier and Type | Method and Description |
|---|---|
T |
getDefaultValue()
Obtains the option's default value.
|
String |
getKey()
Obtains my string key, which may be used for persistence in a
preference store.
|
String |
getPluginId()
Returns the plugin qualifier for the key.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueOfpublic final String getKey()
Optionpublic final T getDefaultValue()
OptiongetDefaultValue in interface PreferenceableOption<T>getDefaultValue in interface Option<T>nullpublic final String getPluginId()
PreferenceableOptiongetPluginId in interface PreferenceableOption<T>Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.