Package com.inet.problemfinder.rules
Interface ProblemFinderRule
- All Known Implementing Classes:
AbstractRuleElement
,AbstractRuleField
,AbstractRulePropertyFormula
,AbstractRuleReport
,AbstractRuleSection
public interface ProblemFinderRule
This Interface defines a
A rule checks the report for a certain problem.
ProblemFinderRule
that can be called via the ProblemFinder
.A rule checks the report for a certain problem.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<ProblemFinderWarning>
findErrors
(Engine engine) Deprecated.default List<ProblemFinderWarning>
findErrors
(Engine engine, Properties userProperties) Runs this rule and checks the given Engine for ProblemsGet the localized label for this rule.
-
Method Details
-
findErrors
Runs this rule and checks the given Engine for Problems- Parameters:
engine
- TheEngine
to check.userProperties
- possible prompt values, can be empty if the user has never run the report- Returns:
- A list of found problems, can be empty or
null
if the Check is Canceled. - Since:
- i-net Clear Reports 20.10
-
findErrors
Deprecated.As of i-net Clear Reports 20.10, usefindErrors(Engine, Properties)
insteadRuns this rule and checks the given Engine for Problems- Parameters:
engine
- TheEngine
to check.- Returns:
- A list of found problems, can be empty or
null
if the Check is Canceled. - Throws:
RuntimeException
- if you not override one of the methods- Since:
- i-net Clear Reports 12.0
-
getRuleLabel
String getRuleLabel()Get the localized label for this rule. This gives a general description.- Returns:
- the localized label.
- Since:
- i-net Clear Reports 12.0
-
findErrors(Engine, Properties)
instead