Class CompositeProcessTemplateCheck
java.lang.Object
de.aristaflow.adept2.core.checks.processmodel.CompositeProcessTemplateCheck
- All Implemented Interfaces:
ProcessTemplateCheck
A composite check consisting of other checks.
- Author:
- Patrick Schmidt
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newCompositeTemplateCheck. -
Method Summary
Modifier and TypeMethodDescriptionbooleanperformCheck(Template template, NodeRelations relations, CheckReport checkReport) Performs the check on the given template.
-
Constructor Details
-
CompositeProcessTemplateCheck
Constructs a newCompositeTemplateCheck.- Parameters:
checks-
-
-
Method Details
-
performCheck
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.
-