Interface Configuration
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultConfiguration
A Configuration is used to configure a Configurable component. The general
idea of Configuration/Configurable was taken from Jakarta's Avalon framework.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) The attribute value for an attribute name.String[]
The set of attribute names.The set of child configurations.Returns an unmodifiable map instance containing the custom messages for this configuration.getName()
The name of this configuration.
-
Method Details
-
getAttributeNames
String[] getAttributeNames()The set of attribute names.- Returns:
- The set of attribute names, never null.
-
getAttribute
The attribute value for an attribute name.- Parameters:
name
- the attribute name- Returns:
- the value that is associated with name
- Throws:
CheckstyleException
- if name is not a valid attribute name
-
getChildren
Configuration[] getChildren()The set of child configurations.- Returns:
- The set of child configurations, never null.
-
getName
String getName()The name of this configuration.- Returns:
- The name of this configuration.
-
getMessages
Returns an unmodifiable map instance containing the custom messages for this configuration.- Returns:
- unmodifiable map containing custom messages
-