Interface ProcessTemplateCheck

All Known Implementing Classes:
AbstractProcessTemplateCheck, CompositeProcessTemplateCheck

public interface ProcessTemplateCheck
Common interface for all checks on process templates.

Checks may e.g. include structural checks, checks of the data flow, etc. See the various sub-packages of this package, for details.

Author:
Markus Lauer, Kevin Goeser
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    performCheck(Template template, NodeRelations relations, CheckReport checkReport)
    Performs the check on the given template.
  • Method Details

    • performCheck

      boolean performCheck(Template template, NodeRelations relations, CheckReport checkReport)
      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.

      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.