Package com.inet.problemfinder.rules
Class AbstractRulePropertyFormula
- java.lang.Object
-
- com.inet.problemfinder.rules.AbstractRulePropertyFormula
-
- All Implemented Interfaces:
ProblemFinderRule
public abstract class AbstractRulePropertyFormula extends java.lang.Object implements ProblemFinderRule
Base class for checks looking for errors in property-formulas.
Collects the formulaFields of areas, sections, elements, sort-fields, groups.
-
-
Constructor Summary
Constructors Constructor Description AbstractRulePropertyFormula()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ProblemFinderWarning
check(Engine engine, FormulaField formula, java.lang.Object source)
Called to check the given FormulaField.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
protected abstract ProblemFinderWarning check(Engine engine, FormulaField formula, java.lang.Object source)
Called to check the given FormulaField.- Parameters:
engine
- is the Engine to checkformula
- the field to checksource
- the source with holds the property formula, the element, section, area, groupField or sortField- Returns:
- a
ProblemFinderWarning
, or null if no error detected. - Since:
- i-net Clear Reports 12.0
-
-