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) |
Object |
get(String key) |
<T> T |
get(String key,
T defaultValue) |
String |
getAsString(String key,
String defaultValue) |
Object |
remove(String key) |
void |
set(String key,
Object value) |
asProperties, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAt, getAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asProperties, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAt, getAt
public DelegatingMutableConfiguration(@Nonnull Configuration delegate)
public void set(@Nonnull String key, @Nonnull Object value)
set
in interface MutableConfiguration
@Nullable public Object remove(@Nonnull String key)
remove
in interface MutableConfiguration
@Nonnull public Map<String,Object> asFlatMap()
asFlatMap
in interface Configuration
asFlatMap
in class ConfigurationDecorator
@Nonnull public ResourceBundle asResourceBundle()
asResourceBundle
in interface Configuration
asResourceBundle
in class ConfigurationDecorator
@Nullable public Object get(@Nonnull String key)
get
in interface Configuration
get
in class ConfigurationDecorator
@Nullable public <T> T get(@Nonnull String key, @Nullable T defaultValue)
get
in interface Configuration
get
in class ConfigurationDecorator
@Nullable public String getAsString(@Nonnull String key, @Nullable String defaultValue)
getAsString
in interface Configuration
getAsString
in class ConfigurationDecorator
public boolean containsKey(@Nonnull String key)
containsKey
in interface Configuration
containsKey
in class ConfigurationDecorator