com.puppycrawl.tools.checkstyle.api
Class AutomaticBean
java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
- Configurable, Contextualizable
public class AutomaticBean
extends java.lang.Object
A Java Bean that implements the component lifecycle interfaces by
calling the bean's setters for all configration attributes.
- lkuehne
void | configure(Configuration aConfiguration) - Implements the Configurable interface using bean introspection.
|
void | contextualize(Context aContext) - Implements the Contextualizable interface using bean introspection.
|
protected void | finishLocalSetup() - Provides a hook to finish the part of this compoent's setup that
was not handled by the bean introspection.
|
protected Configuration | getConfiguration() - Returns the configuration that was used to configure this component.
|
protected void | setupChild(Configuration aChildConf) - Called by configure() for every child of this component's Configuration.
|
finishLocalSetup
protected void finishLocalSetup()
throws CheckstyleException
Provides a hook to finish the part of this compoent's setup that
was not handled by the bean introspection.
The default implementation does nothing.
CheckstyleException
- if there is a configuration error.
getConfiguration
protected final Configuration getConfiguration()
Returns the configuration that was used to configure this component.
- the configuration that was used to configure this component.