Class AbstractRuleSection

  • All Implemented Interfaces:
    ProblemFinderRule

    public abstract class AbstractRuleSection
    extends java.lang.Object
    implements ProblemFinderRule
    Base class for rules checking looking for errors in Sections.
    • Constructor Detail

      • AbstractRuleSection

        public AbstractRuleSection()
    • 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 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

        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 check
        section - the section to check
        Returns:
        a found ProblemFinderWarning, or null if no error is there
        Since:
        i-net Clear Reports 12.0