Class AbstractRuleElement

    • Constructor Detail

      • AbstractRuleElement

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

        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