public class DelegatingMutableConfiguration extends ConfigurationDecorator implements MutableConfiguration
delegate| Constructor and Description | 
|---|
DelegatingMutableConfiguration(Configuration delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,Object> | 
asFlatMap()  | 
ResourceBundle | 
asResourceBundle()  | 
boolean | 
containsKey(String key)
Searches for the key in this configuration. 
 | 
Object | 
get(String key)
Returns the value associated with the given key. 
 | 
<T> T | 
get(String key,
   T defaultValue)
Returns the value associated with the given key. 
 | 
String | 
getAsString(String key,
           String defaultValue)
Finds a value associated with the given key. 
 | 
Object | 
remove(String key)
Removes a key from this configuration. 
 | 
<T> T | 
removeAs(String key)
Removes a key from this configuration. 
 | 
<T> T | 
removeConverted(String key,
               Class<T> type)
Removes a key from this configuration. 
 | 
void | 
set(String key,
   Object value)
Sets a key/value pair on this configuration. 
 | 
asProperties, convertValue, getAs, getAs, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAt, getAt, getConverted, getConverted, getConverted, getConvertedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasProperties, getAs, getAs, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAt, getAt, getConverted, getConverted, getConverted, getConvertedpublic DelegatingMutableConfiguration(@Nonnull Configuration delegate)
public void set(@Nonnull String key, @Nonnull Object value)
MutableConfigurationset in interface MutableConfigurationkey - the key to be registeredvalue - the value to save@Nullable public Object remove(@Nonnull String key)
MutableConfigurationremove in interface MutableConfigurationkey - the key to be removed@Nullable public <T> T removeAs(@Nonnull String key)
MutableConfigurationremoveAs in interface MutableConfigurationkey - the key to be removed@Nullable public <T> T removeConverted(@Nonnull String key, @Nonnull Class<T> type)
MutableConfigurationPropertyEditor.removeConverted in interface MutableConfigurationkey - the key to be removedtype - the type to be returned@Nonnull public Map<String,Object> asFlatMap()
asFlatMap in interface ConfigurationasFlatMap in class ConfigurationDecorator@Nonnull public ResourceBundle asResourceBundle()
asResourceBundle in interface ConfigurationasResourceBundle in class ConfigurationDecorator@Nullable public Object get(@Nonnull String key)
Configurationget in interface Configurationget in class ConfigurationDecoratorkey - the key to search@Nullable public <T> T get(@Nonnull String key, @Nullable T defaultValue)
Configurationget in interface Configurationget in class ConfigurationDecoratorT - the type of the valuekey - the key to searchdefaultValue - the value to be returned if the key was not found@Nullable public String getAsString(@Nonnull String key, @Nullable String defaultValue)
ConfigurationgetAsString in interface ConfigurationgetAsString in class ConfigurationDecoratorkey - the key to searchdefaultValue - the value to be returned if the key is not foundpublic boolean containsKey(@Nonnull String key)
ConfigurationcontainsKey in interface ConfigurationcontainsKey in class ConfigurationDecoratorkey - the key to search