public class MockPluginSettings extends Object implements PluginSettings
| Constructor and Description |
|---|
MockPluginSettings() |
public Object get(String key)
PluginSettingsget in interface PluginSettingskey - The setting key. Cannot be nullpublic Object put(String key, Object value)
PluginSettingsput 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)
PluginSettingsremove in interface PluginSettingskey - The setting keyCopyright © 2019 Atlassian. All rights reserved.