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, wait
getValueOf
public final String getKey()
Option
public final T getDefaultValue()
Option
getDefaultValue
in interface PreferenceableOption<T>
getDefaultValue
in interface Option<T>
null
public final String getPluginId()
PreferenceableOption
getPluginId
in interface PreferenceableOption<T>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.