Class StraightThroughProcessingLoopValidator

java.lang.Object
io.camunda.zeebe.engine.processing.deployment.model.validation.StraightThroughProcessingLoopValidator

public final class StraightThroughProcessingLoopValidator extends Object
  • 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 validated
      executableProcesses - the list of processes in this resource
      Returns:
      an Either of which the left contains the failure message if any loops have been found