Class CompositeProcessTemplateCheck
- java.lang.Object
-
- de.aristaflow.adept2.core.checks.processmodel.CompositeProcessTemplateCheck
-
- All Implemented Interfaces:
ProcessTemplateCheck
public class CompositeProcessTemplateCheck extends Object implements ProcessTemplateCheck
A composite check consisting of other checks.- Author:
- Patrick Schmidt
-
-
Constructor Summary
Constructors Constructor Description CompositeProcessTemplateCheck(ProcessTemplateCheck... checks)Constructs a newCompositeTemplateCheck.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanperformCheck(Template template, NodeRelations relations, CheckReport checkReport)Performs the check on the given template.
-
-
-
Constructor Detail
-
CompositeProcessTemplateCheck
public CompositeProcessTemplateCheck(ProcessTemplateCheck... checks)
Constructs a newCompositeTemplateCheck.- Parameters:
checks-
-
-
Method Detail
-
performCheck
public boolean performCheck(Template template, NodeRelations relations, CheckReport checkReport)
Description copied from interface:ProcessTemplateCheckPerforms 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 notnull.- Specified by:
performCheckin interfaceProcessTemplateCheck- Parameters:
template- The template to be checked.relations- The node relation cache to use.checkReport- The check report for found problems (may benull). If this is aLocalisedCheckReport, the check should respect and provide all preferred locale or corresponding fallbacks.- Returns:
- True, if the check was OK.
-
-