Class ProcessTemplateCheckRunner


  • public class ProcessTemplateCheckRunner
    extends Object
    Tool for running multiple checks at once - on the template and any embedded templates - returning the overall result.
    • Field Detail

      • logger

        protected final Logger logger
        My logger
      • RECURSIVE_CHECK_ID

        public static final String RECURSIVE_CHECK_ID
        Check Report ID of recursive checks
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProcessTemplateCheckRunner

        public ProcessTemplateCheckRunner​(boolean stopOnError,
                                          ProcessTemplateCheck[] checks)
        Create a new check runner.
        Parameters:
        stopOnError - If true, checking will be stopped if the first error occurred.
        checks - The checks to run.
      • ProcessTemplateCheckRunner

        public ProcessTemplateCheckRunner​(ProcessTemplateCheck... checks)
        Create a new check runner. The check runner will stop as soon as the first error occurs.
        Parameters:
        checks - The checks to run.