public abstract class AbstractOptionCheck extends Check
Constructor and Description |
---|
AbstractOptionCheck(AbstractOption aDefault)
Creates a new
AbstractOptionCheck instance. |
Modifier and Type | Method and Description |
---|---|
AbstractOption |
getAbstractOption() |
void |
setOption(String aOption)
Set the option to enforce.
|
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens, visitToken
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverity
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public AbstractOptionCheck(AbstractOption aDefault)
AbstractOptionCheck
instance.aDefault
- the default option.public void setOption(String aOption) throws org.apache.commons.beanutils.ConversionException
aOption
- string to decode option fromorg.apache.commons.beanutils.ConversionException
- if unable to decodepublic AbstractOption getAbstractOption()
AbstractOption
set