com.puppycrawl.tools.checkstyle
public final class DefaultConfiguration extends Object implements Configuration
Constructor Summary | |
---|---|
DefaultConfiguration(String aName)
Instantiates a DefaultConfiguration. |
Method Summary | |
---|---|
void | addAttribute(String aName, String aValue)
Adds an attribute to this configuration. |
void | addChild(Configuration aConfiguration)
Makes a configuration a child of this configuration. |
String | getAttribute(String aName) {@inheritDoc} |
String[] | getAttributeNames() {@inheritDoc} |
Configuration[] | getChildren() {@inheritDoc} |
String | getName() {@inheritDoc} |
void | removeChild(Configuration aConfiguration)
Removes a child of this configuration. |
Parameters: aName the name for this DefaultConfiguration.
Parameters: aName the name of the attribute. aValue the value of the attribute.
Parameters: aConfiguration the child configuration.
Parameters: aConfiguration the child configuration to remove.