Package com.inet.problemfinder.rules
Class AbstractRuleSection
- java.lang.Object
-
- com.inet.problemfinder.rules.AbstractRuleSection
-
- All Implemented Interfaces:
ProblemFinderRule
public abstract class AbstractRuleSection extends java.lang.Object implements ProblemFinderRule
Base class for rules checking looking for errors inSection
s.
-
-
Constructor Summary
Constructors Constructor Description AbstractRuleSection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ProblemFinderWarning
check(Engine engine, Section section)
This is called for each section of the report.
This method does the concrete check.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:
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
public abstract ProblemFinderWarning check(Engine engine, Section section)
This is called for each section of the report.
This method does the concrete check.- Parameters:
engine
- is the Engine to checksection
- the section to check- Returns:
- a found
ProblemFinderWarning
, ornull
if no error is there - Since:
- i-net Clear Reports 12.0
-
-