private static class OptionsCheckRule.OptionWarning extends java.lang.Object implements IDisplayable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
option |
private int |
score |
private java.lang.String |
warning |
AUTO, EXACT, VERBOSE
Constructor and Description |
---|
OptionWarning(java.lang.String option,
java.lang.String warning,
int score) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
displayUsing(java.lang.String formatHint)
Format this object for display purposes, preferably using the formatter hinted by
formatHint . |
java.lang.String |
getOption() |
int |
getScore() |
java.lang.String |
getWarning() |
private final java.lang.String option
private final java.lang.String warning
private final int score
public OptionWarning(java.lang.String option, java.lang.String warning, int score)
public java.lang.String getOption()
public java.lang.String getWarning()
public int getScore()
public java.lang.String displayUsing(java.lang.String formatHint)
IDisplayable
formatHint
. If no such formatter is defined for this type, the default formatter will
be used.displayUsing
in interface IDisplayable
formatHint
- the format hint