Package com.inet.problemfinder.rules
Class AbstractRuleElement
java.lang.Object
com.inet.problemfinder.rules.AbstractRuleElement
- All Implemented Interfaces:
ProblemFinderRule
This
ProblemFinderRule
is for checking Report Element
s-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ProblemFinderWarning
This Method check the given Element if there are a certain error/problem and returns theProblemFinderWarning
ornull
.findErrors
(Engine engine) Runs this rule and checks the given Engine for ProblemsMethods 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
-
Constructor Details
-
AbstractRuleElement
public AbstractRuleElement()
-
-
Method Details
-
findErrors
Runs this rule and checks the given Engine for Problems- Specified by:
findErrors
in interfaceProblemFinderRule
- Parameters:
engine
- TheEngine
to check.- Returns:
- A list of found problems, can be empty or
null
if the Check is Canceled.
-
check
This Method check the given Element if there are a certain error/problem and returns theProblemFinderWarning
ornull
.- Parameters:
engine
- is the Engine to checkelement
- the givenElement
to check- Returns:
- a ProblemFinderWarning including Actions for AutoFix the Problem, if it is possible.
null
if there is no Problem found - Since:
- i-net Clear Reports 12.0
-