T - the type of the option.public abstract class AbstractOptionCheck<T extends Enum<T>> extends Check
Enum. The logic to convert from a string
representation to the Enum is to String.trim() the string
and convert using String.toUpperCase() and then look up using
Enum.valueOf(java.lang.Class<T>, java.lang.String).DEFAULT_ERROR_SCORE, DEFAULT_INFO_SCORE, DEFAULT_WARNING_SCORE, mScoring, mViolationSize| コンストラクタと説明 |
|---|
AbstractOptionCheck(T aDefault,
Class<T> aOptionClass)
Creates a new
AbstractOptionCheck instance. |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
T |
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, visitTokencalculateScore, getCustomMessages, getErrorScore, getId, getInfoScore, getMessageBundle, getScore, getScoring, getSeverity, getSeverityLevel, getWarningScore, log, setErrorScore, setId, setInfoScore, setScore, setScoring, setSeverity, setWarningScoreconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic void setOption(String aOption) throws org.apache.commons.beanutils.ConversionException
aOption - string to decode option fromorg.apache.commons.beanutils.ConversionException - if unable to decodepublic T getAbstractOption()
AbstractOption setCopyright © 2001-2013. All Rights Reserved.