Interface IWorkflowValidator
- All Known Implementing Classes:
WorkflowValidator
public interface IWorkflowValidator
An object for validating the entire workflow of a project, or just parts of it (single tasks, triggers, or nodes).
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionvalidateProcess
(WorkflowProcess process, EWorkflowValidationGroup... groups) Performs a validation of an entire workflow process, including all tasks, triggers, and nodes.validateTask
(WorkflowTask task, EWorkflowValidationGroup... groups) Performs a validation of an entire workflow task, including all triggers, and nodes.
-
Method Details
-
validateProcess
IWorkflowValidationResult validateProcess(WorkflowProcess process, EWorkflowValidationGroup... groups) Performs a validation of an entire workflow process, including all tasks, triggers, and nodes. Never throws an exception (but may throwError
s). UseIWorkflowValidationResult.getUnhandledExceptions()
to check if any unhandled exceptions occurred during validation.- Parameters:
process
- The process to validate.groups
- The type of validation to perform. If none are given, all types are performed.- Returns:
- The result of the validation.
-
validateTask
Performs a validation of an entire workflow task, including all triggers, and nodes. Never throws an exception (but may throwError
s). UseIWorkflowValidationResult.getUnhandledExceptions()
to check if any unhandled exceptions occurred during validation.- Parameters:
task
- The task to validate.groups
- The type of validation to perform. If none are given, all types are performed.- Returns:
- The result of the validation.
-