Class StraightThroughProcessingLoopValidator
java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.validation.StraightThroughProcessingLoopValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate
(DeploymentResource resource, List<ExecutableProcess> executableProcesses) Validates a list of processes for straight-through processing loops.
-
Constructor Details
-
StraightThroughProcessingLoopValidator
public StraightThroughProcessingLoopValidator()
-
-
Method Details
-
validate
public static Either<Failure,?> validate(DeploymentResource resource, List<ExecutableProcess> executableProcesses) Validates a list of processes for straight-through processing loops. These are loops of elements that don't have any execution logic, such as undefined tasks and manual tasks.- Parameters:
resource
- the resource file that's getting validatedexecutableProcesses
- the list of processes in this resource- Returns:
- an Either of which the left contains the failure message if any loops have been found
-