com.puppycrawl.tools.checkstyle
Class DefaultConfiguration
- Configuration, Serializable
public final class DefaultConfiguration
Default implementation of the Configuration interface.
DefaultConfiguration
public DefaultConfiguration(String aName)
Instantiates a DefaultConfiguration.
aName
- the name for this DefaultConfiguration.
addAttribute
public void addAttribute(String aName,
String aValue)
Adds an attribute to this configuration.
aName
- the name of the attribute.aValue
- the value of the attribute.
addChild
public void addChild(Configuration aConfiguration)
Makes a configuration a child of this configuration.
aConfiguration
- the child configuration.
removeChild
public void removeChild(Configuration aConfiguration)
Removes a child of this configuration.
aConfiguration
- the child configuration to remove.