public abstract class AbstractStringPluginSettings extends Object implements PluginSettings
| Constructor and Description |
|---|
AbstractStringPluginSettings() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key)
Gets a setting value.
|
protected abstract String |
getActual(String key)
Get the actual value
|
Object |
put(String key,
Object value)
Puts a setting value.
|
protected abstract void |
putActual(String key,
String val)
Put the actual value.
|
Object |
remove(String key)
Removes a setting value
|
protected abstract void |
removeActual(String key)
Do the actual remove.
|
public Object put(String key, Object value)
put in interface PluginSettingskey - Setting key. Cannot be nullvalue - Setting value. Must be one of String, List<String>, Properties, Map<String, String>, or null.IllegalArgumentException - if value is not one of the valid types.public Object get(String key)
get in interface PluginSettingskey - The setting key. Cannot be nullpublic Object remove(String key)
remove in interface PluginSettingskey - The setting keyprotected abstract void putActual(String key, String val)
key - The key to put it at.val - The valueprotected abstract String getActual(String key)
key - The key to getprotected abstract void removeActual(String key)
key - The key to removeCopyright © 2019 Atlassian. All rights reserved.