public interface MergingConfiguration extends Configuration
Configuration.ConfigurationIDs| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFirst(Configuration configuration)
Adds the designated configuration as the first configuration that overrides
the other configurations.
|
void |
addLast(Configuration configuration)
Adds the designated configuration as the last configuration that is
overridden by all other configurations.
|
java.util.List<? extends Configuration> |
getConfigurations()
Gets a copy of the list of all configurations that are merged by this
MergingConfiguration. |
Configuration |
getMergedConfiguration()
Gets one configuration containing the merged values, that is the list of
configurations is merged to a single configuration.
|
getAllEntries, getBoolean, getConfigurationID, getDate, getFloat, getInteger, getString, getUDT, getURI, isFixedstatic final long serialVersionUID
java.util.List<? extends Configuration> getConfigurations()
MergingConfiguration. Prior configurations override later
ones.MergingConfiguration.void addFirst(Configuration configuration)
configuration - The configuration to override the other configurations
in this MergingConfiguration. This must not be null.void addLast(Configuration configuration)
configuration - The configuration that is overridden by all other
configurations in this MergingConfiguration. This
must not be null.Configuration getMergedConfiguration()
MergingConfiguration. MergingConfiguration.