com.atlassian.sal.core.pluginsettings
Class PrefixedPluginSettingsDelegate

java.lang.Object
  extended by com.atlassian.sal.core.pluginsettings.PrefixedPluginSettingsDelegate
All Implemented Interfaces:
PluginSettings

public class PrefixedPluginSettingsDelegate
extends Object
implements PluginSettings

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)
           
 Object put(String key, Object value)
           
 Object remove(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixedPluginSettingsDelegate

public PrefixedPluginSettingsDelegate(String prefix,
                                      PluginSettings target)
Method Detail

get

public Object get(String key)
Specified by:
get in interface PluginSettings

put

public Object put(String key,
                  Object value)
Specified by:
put in interface PluginSettings

remove

public Object remove(String key)
Specified by:
remove in interface PluginSettings


Copyright © 2011 Atlassian. All Rights Reserved.