public class ImportControlCheck extends Check
| Constructor and Description |
|---|
ImportControlCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process a tree.
|
int[] |
getDefaultTokens()
Returns the default token a check is interested in.
|
void |
setFile(String aName)
Set the parameter for the file containing the import control
configuration.
|
void |
setUrl(String aUrl)
Set the parameter for the url containing the import control
configuration.
|
void |
visitToken(DetailAST aAST)
Called to process a token.
|
destroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokensgetId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic int[] getDefaultTokens()
getDefaultTokens in class CheckTokenTypespublic void beginTree(DetailAST aRootAST)
public void visitToken(DetailAST aAST)
visitToken in class CheckaAST - the token to processpublic void setUrl(String aUrl)
aUrl - the url of the file to load.org.apache.commons.beanutils.ConversionException - on error loading the file.public void setFile(String aName)
aName - the name of the file to load.org.apache.commons.beanutils.ConversionException - on error loading the file.