public class CompositeProcessTemplateCheck extends java.lang.Object implements ProcessTemplateCheck
| Constructor and Description |
|---|
CompositeProcessTemplateCheck(ProcessTemplateCheck... checks)
Constructs a new
CompositeTemplateCheck. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
performCheck(Template template,
NodeRelations relations,
CheckReport checkReport)
Performs the check on the given template.
|
public CompositeProcessTemplateCheck(ProcessTemplateCheck... checks)
CompositeTemplateCheck.checks - public boolean performCheck(Template template, NodeRelations relations, CheckReport checkReport)
ProcessTemplateCheck
Any problems which will be found during the check, will be reported to the
checkReport, if the parameter is not null.
performCheck in interface ProcessTemplateChecktemplate - 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.