|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cogroo.tools.checker.GenericCheckerComposite<T>
public abstract class GenericCheckerComposite<T>
Constructor Summary | |
---|---|
GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers)
|
|
GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers,
boolean aAllowOverlaps)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.cogroo.tools.checker.GenericChecker |
---|
check |
Constructor Detail |
---|
public GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers)
public GenericCheckerComposite(List<GenericChecker<T>> aChildCheckers, boolean aAllowOverlaps)
Method Detail |
---|
public String getIdPrefix()
GenericChecker
getIdPrefix
in interface GenericChecker<T>
public void ignore(String id)
GenericChecker
ignore
in interface GenericChecker<T>
id
- the rule id to be ignoredpublic void resetIgnored()
GenericChecker
resetIgnored
in interface GenericChecker<T>
public int getPriority()
GenericChecker
getPriority
in interface GenericChecker<T>
public List<RuleDefinition> getRulesDefinition()
GenericChecker
getRulesDefinition
in interface GenericChecker<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |