| java.lang.Object com.puppycrawl.tools.checkstyle.api.AutomaticBean com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck com.mycompany.checks.LimitImplementationFiles
LimitImplementationFiles | public class LimitImplementationFiles extends AbstractFileSetCheck (Code) | | An example for a user provided FileSetCheck,
checks that the number of files does not excced a certain limit.
This Class is provided for educational purposes only, we do not
consider it useful to check your production code.
author: lkuehne |
Method Summary | |
public void | process(File[] files) | public void | setMax(int aMax) Give user a chance to configure max in the
config file. |
setMax | public void setMax(int aMax)(Code) | | Give user a chance to configure max in the
config file.
Parameters: aMax - the user specified maximum. |
Methods inherited from com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter | final public String getId()(Code)(Java Doc) protected String getMessageBundle()(Code)(Java Doc) final public String getSeverity()(Code)(Java Doc) final public SeverityLevel getSeverityLevel()(Code)(Java Doc) final protected void log(int aLine, String aKey)(Code)(Java Doc) final protected void log(int aLineNo, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(int aLineNo, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey, Object aArg0)(Code)(Java Doc) final protected void log(int aLineNo, int aColNo, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) final protected void log(DetailAST aAST, String aKey, Object aArg0, Object aArg1)(Code)(Java Doc) abstract protected void log(int aLine, String aKey, Object aArgs)(Code)(Java Doc) abstract protected void log(int aLine, int aCol, String aKey, Object[] aArgs)(Code)(Java Doc) final public void setId(String aId)(Code)(Java Doc) final public void setSeverity(String aSeverity)(Code)(Java Doc)
|
|
|