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