| java.lang.Object com.puppycrawl.tools.checkstyle.api.AutomaticBean
All known Subclasses: com.puppycrawl.tools.checkstyle.DefaultLogger, com.mycompany.filters.FilesFilter, com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter, com.puppycrawl.tools.checkstyle.filters.SeverityMatchFilter, com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter, com.mycompany.listeners.VerboseListener, com.puppycrawl.tools.checkstyle.Checker, com.puppycrawl.tools.checkstyle.filters.SuppressionFilter, com.puppycrawl.tools.checkstyle.XMLLogger,
AutomaticBean | public class AutomaticBean implements Configurable,Contextualizable(Code) | | A Java Bean that implements the component lifecycle interfaces by
calling the bean's setters for all configration attributes.
author: lkuehne |
Method Summary | |
final public void | configure(Configuration aConfiguration) Implements the Configurable interface using bean introspection.
Subclasses are allowed to add behaviour. | final public 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. | final 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(Code) | | 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.
throws: CheckstyleException - if there is a configuration error. |
getConfiguration | final protected Configuration getConfiguration()(Code) | | Returns the configuration that was used to configure this component.
the configuration that was used to configure this component. |
|
|