public class CompositeConfiguration extends Object implements Configuration
| Constructor and Description |
|---|
CompositeConfiguration() |
CompositeConfiguration(Configuration... configurations) |
CompositeConfiguration(String prefix,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(Configuration configuration) |
void |
addConfiguration(int pos,
Configuration configuration) |
void |
addConfigurationFirst(Configuration configuration) |
boolean |
containsKey(String key)
Check if the configuration contains the specified key.
|
Object |
getInternalProperty(String key) |
Object |
getProperty(String key,
Object defaultValue)
Gets a property from the configuration.
|
boolean |
isDynamicIncluded() |
void |
setDynamicIncluded(boolean dynamicIncluded) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, getBoolean, getBoolean, getBoolean, getInt, getInt, getInteger, getProperty, getString, getString, toBooleanObjectpublic CompositeConfiguration()
public CompositeConfiguration(Configuration... configurations)
public void setDynamicIncluded(boolean dynamicIncluded)
public boolean isDynamicIncluded()
public void addConfiguration(Configuration configuration)
public void addConfigurationFirst(Configuration configuration)
public void addConfiguration(int pos,
Configuration configuration)
public Object getInternalProperty(String key)
getInternalProperty in interface Configurationpublic boolean containsKey(String key)
ConfigurationcontainsKey in interface Configurationkey - the key whose presence in this configuration is to be testedtrue if the configuration contains a value for this
key, false otherwisepublic Object getProperty(String key, Object defaultValue)
ConfigurationgetProperty in interface Configurationkey - property to retrievedefaultValue - default valueCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.