Class AbstractRuleElement

java.lang.Object
com.inet.problemfinder.rules.AbstractRuleElement
All Implemented Interfaces:
ProblemFinderRule

public abstract class AbstractRuleElement extends Object implements ProblemFinderRule
This ProblemFinderRule is for checking Report Elements
  • Constructor Details

    • AbstractRuleElement

      public AbstractRuleElement()
  • Method Details

    • findErrors

      public List<ProblemFinderWarning> findErrors(Engine engine)
      Runs this rule and checks the given Engine for Problems
      Specified by:
      findErrors in interface ProblemFinderRule
      Parameters:
      engine - The Engine 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, Element element)
      This Method check the given Element if there are a certain error/problem and returns the ProblemFinderWarning or null.
      Parameters:
      engine - is the Engine to check
      element - the given Element 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