com.puppycrawl.tools.checkstyle
Class DefaultConfiguration
java.lang.Object
com.puppycrawl.tools.checkstyle.DefaultConfiguration
- Configuration, Serializable
public final class DefaultConfiguration
extends java.lang.Object
Default implementation of the Configuration interface.
- lkuehne
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.