Class ProcessTemplateCheckRunner
- java.lang.Object
-
- de.aristaflow.adept2.core.checks.processmodel.ProcessTemplateCheckRunner
-
public class ProcessTemplateCheckRunner extends Object
Tool for running multiple checks at once - on the template and any embedded templates - returning the overall result.
-
-
Field Summary
Fields Modifier and Type Field Description protected Logger
logger
My loggerstatic String
RECURSIVE_CHECK_ID
Check Report ID of recursive checks
-
Constructor Summary
Constructors Constructor Description ProcessTemplateCheckRunner(boolean stopOnError, ProcessTemplateCheck[] checks)
Create a new check runner.ProcessTemplateCheckRunner(ProcessTemplateCheck... checks)
Create a new check runner.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
performCheck(Template template, NodeRelations relations, CheckReport checkReport)
-
-
-
Field Detail
-
logger
protected final Logger logger
My logger
-
RECURSIVE_CHECK_ID
public static final String RECURSIVE_CHECK_ID
Check Report ID of recursive checks- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessTemplateCheckRunner
public ProcessTemplateCheckRunner(boolean stopOnError, ProcessTemplateCheck[] checks)
Create a new check runner.- Parameters:
stopOnError
- If true, checking will be stopped if the first error occurred.checks
- The checks to run.
-
ProcessTemplateCheckRunner
public ProcessTemplateCheckRunner(ProcessTemplateCheck... checks)
Create a new check runner. The check runner will stop as soon as the first error occurs.- Parameters:
checks
- The checks to run.
-
-
Method Detail
-
performCheck
public boolean performCheck(Template template, NodeRelations relations, CheckReport checkReport)
-
-