Package com.inet.problemfinder.rules
Class AbstractRuleElement
- java.lang.Object
-
- com.inet.problemfinder.rules.AbstractRuleElement
-
- All Implemented Interfaces:
ProblemFinderRule
public abstract class AbstractRuleElement extends java.lang.Object implements ProblemFinderRule
ThisProblemFinderRuleis for checking ReportElements
-
-
Constructor Summary
Constructors Constructor Description AbstractRuleElement()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProblemFinderWarningcheck(Engine engine, Element element)This Method check the given Element if there are a certain error/problem and returns theProblemFinderWarningornull.java.util.List<ProblemFinderWarning>findErrors(Engine engine)Runs this rule and checks the given Engine for Problems-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inet.problemfinder.rules.ProblemFinderRule
findErrors, getRuleLabel
-
-
-
-
Method Detail
-
findErrors
public java.util.List<ProblemFinderWarning> findErrors(Engine engine)
Runs this rule and checks the given Engine for Problems- Specified by:
findErrorsin interfaceProblemFinderRule- Parameters:
engine- TheEngineto check.- Returns:
- A list of found problems, can be empty or
nullif the Check is Canceled.
-
check
protected abstract ProblemFinderWarning check(Engine engine, Element element)
This Method check the given Element if there are a certain error/problem and returns theProblemFinderWarningornull.- Parameters:
engine- is the Engine to checkelement- the givenElementto check- Returns:
- a ProblemFinderWarning including Actions for AutoFix the Problem, if it is possible.
nullif there is no Problem found - Since:
- i-net Clear Reports 12.0
-
-