public abstract class GenericCheckerComposite<T> extends Object implements GenericChecker<T>
| Constructor and Description |
|---|
GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers) |
GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers,
boolean aAllowOverlaps) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdPrefix()
Each checker should have IDs with a fixed prefix so CheckerComposite can
route the ignore message to the correct checker.
|
int |
getPriority()
Priority of this checker.
|
List<RuleDefinition> |
getRulesDefinition()
Returns the descriptions of the rules implemented by this checker.
|
void |
ignore(String id)
The checker should ignore the rule with the given id.
|
void |
resetIgnored()
Reset all ignored rules
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckpublic GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers)
public GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers, boolean aAllowOverlaps)
public String getIdPrefix()
GenericCheckergetIdPrefix in interface GenericChecker<T>public void ignore(String id)
GenericCheckerignore in interface GenericChecker<T>id - the rule id to be ignoredpublic void resetIgnored()
GenericCheckerresetIgnored in interface GenericChecker<T>public int getPriority()
GenericCheckergetPriority in interface GenericChecker<T>public List<RuleDefinition> getRulesDefinition()
GenericCheckergetRulesDefinition in interface GenericChecker<T>Copyright © 2012–2017 CoGrOO. All rights reserved.