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) Deprecated.This shall be removed in future releases.String[]
Deprecated.This shall be removed in future releases.The set of child configurations.Returns an unmodifiable map instance containing the custom messages for this configuration.getName()
The name of this configuration.getProperty
(String name) The property value for property name.String[]
The set of property names.
-
Method Details
-
getAttributeNames
Deprecated.This shall be removed in future releases. Please usegetPropertyNames()
instead.The set of attribute names.- Returns:
- The set of attribute names, never null.
-
getAttribute
Deprecated.This shall be removed in future releases. Please usegetProperty(String name)
instead.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
-
getPropertyNames
The set of property names.- Returns:
- The set of property names, never null.
-
getProperty
The property value for property name.- Parameters:
name
- the property name- Returns:
- the value that is associated with name
- Throws:
CheckstyleException
- if name is not a valid property name
-
getChildren
The set of child configurations.- Returns:
- The set of child configurations, never null.
-
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
-