Interface IWorkflowValidator
-
- All Known Implementing Classes:
WorkflowValidator
public interface IWorkflowValidatorAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IWorkflowValidationResultvalidateProcess(WorkflowProcess process, EWorkflowValidationGroup... groups)Performs a validation of an entire workflow process, including all tasks, triggers, and nodes.IWorkflowValidationResultvalidateTask(WorkflowTask task, EWorkflowValidationGroup... groups)Performs a validation of an entire workflow task, including all triggers, and nodes.
-
-
-
Method Detail
-
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 throwErrors). 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
IWorkflowValidationResult validateTask(WorkflowTask task, EWorkflowValidationGroup... groups)
Performs a validation of an entire workflow task, including all triggers, and nodes. Never throws an exception (but may throwErrors). 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.
-
-