com.atlassian.sal.bamboo.pluginsettings
Class BambooPluginSettings
java.lang.Object
com.atlassian.sal.bamboo.pluginsettings.BambooPluginSettings
- All Implemented Interfaces:
- PluginSettings
public class BambooPluginSettings
- extends Object
- implements PluginSettings
|
Constructor Summary |
BambooPluginSettings(com.atlassian.bandana.BandanaManager bandanaManager,
com.atlassian.bamboo.bandana.BambooBandanaContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BambooPluginSettings
public BambooPluginSettings(com.atlassian.bandana.BandanaManager bandanaManager,
com.atlassian.bamboo.bandana.BambooBandanaContext ctx)
put
public Object put(String key,
Object val)
- Description copied from interface:
PluginSettings
- Puts a setting value.
- Specified by:
put in interface PluginSettings
- Parameters:
key - Setting key. Cannot be nullval - Setting value. Must be one of String, List, Properties, Map, or null. null will remove the item from the settings.
- Returns:
- The setting value that was over ridden. Null if none existed.
get
public Object get(String key)
- Description copied from interface:
PluginSettings
- Gets a setting value. The setting returned should be specific to this context settings object and not cascade
the value to a global context.
- Specified by:
get in interface PluginSettings
- Parameters:
key - The setting key. Cannot be null
- Returns:
- The setting value. May be null
remove
public Object remove(String key)
- Description copied from interface:
PluginSettings
- Removes a setting value
- Specified by:
remove in interface PluginSettings
- Parameters:
key - The setting key
- Returns:
- The setting value that was removed. Null if nothing was removed.
Copyright © 2010 Atlassian. All Rights Reserved.