|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.sal.core.pluginsettings.PrefixedPluginSettingsDelegate
public class PrefixedPluginSettingsDelegate
PluginSettings implementation that delegates to another PluginSettings, adding a prefix to every key passed in
| Constructor Summary | |
|---|---|
PrefixedPluginSettingsDelegate(String prefix,
PluginSettings target)
|
|
| Method Summary | |
|---|---|
Object |
get(String key)
Gets a setting value. |
Object |
put(String key,
Object value)
Puts a setting value. |
Object |
remove(String key)
Removes a setting value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrefixedPluginSettingsDelegate(String prefix,
PluginSettings target)
| Method Detail |
|---|
public Object get(String key)
PluginSettings
get in interface PluginSettingskey - The setting key. Cannot be null
public Object put(String key,
Object value)
PluginSettings
put in interface PluginSettingskey - Setting key. Cannot be null, keys longer than 100 characters are not supported.value - Setting value. Must be one of String, List, Properties, Map, or null.
null will remove the item from the settings. If the value is a String it should not be longer
than 99000 characters long. Values of a type other than String will be serialized as a
String which cannot be longer than 99000 characters long.
public Object remove(String key)
PluginSettings
remove in interface PluginSettingskey - The setting key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||