Class CompositeProcessTemplateCheck

    • Constructor Detail

      • CompositeProcessTemplateCheck

        public CompositeProcessTemplateCheck​(ProcessTemplateCheck... checks)
        Constructs a new CompositeTemplateCheck.
        Parameters:
        checks -
    • Method Detail

      • performCheck

        public boolean performCheck​(Template template,
                                    NodeRelations relations,
                                    CheckReport checkReport)
        Description copied from interface: ProcessTemplateCheck
        Performs the check on the given template.

        Any problems which will be found during the check, will be reported to the checkReport, if the parameter is not null.

        Specified by:
        performCheck in interface ProcessTemplateCheck
        Parameters:
        template - The template to be checked.
        relations - The node relation cache to use.
        checkReport - The check report for found problems (may be null). If this is a LocalisedCheckReport, the check should respect and provide all preferred locale or corresponding fallbacks.
        Returns:
        True, if the check was OK.