Class DynamicCombinedConfiguration.ConfigData
- java.lang.Object
-
- org.apache.commons.configuration2.DynamicCombinedConfiguration.ConfigData
-
- Enclosing class:
- DynamicCombinedConfiguration
static class DynamicCombinedConfiguration.ConfigData extends java.lang.Object
Internal class that identifies each Configuration.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
at
Stores the at string.private Configuration
configuration
Stores a reference to the configuration.private java.lang.String
name
Stores the name under which the configuration is stored.
-
Constructor Summary
Constructors Constructor Description ConfigData(Configuration config, java.lang.String n, java.lang.String at)
Creates a new instance ofConfigData
and initializes it.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAt()
Gets the at position of this configuration.Configuration
getConfiguration()
Gets the stored configuration.java.lang.String
getName()
Gets the configuration's name.
-
-
-
Field Detail
-
configuration
private final Configuration configuration
Stores a reference to the configuration.
-
name
private final java.lang.String name
Stores the name under which the configuration is stored.
-
at
private final java.lang.String at
Stores the at string.
-
-
Constructor Detail
-
ConfigData
public ConfigData(Configuration config, java.lang.String n, java.lang.String at)
Creates a new instance ofConfigData
and initializes it.- Parameters:
config
- the configurationn
- the nameat
- the at position
-
-
Method Detail
-
getAt
public java.lang.String getAt()
Gets the at position of this configuration.- Returns:
- the at position
-
getConfiguration
public Configuration getConfiguration()
Gets the stored configuration.- Returns:
- the configuration
-
getName
public java.lang.String getName()
Gets the configuration's name.- Returns:
- the name
-
-