Class CatchEventBehavior

java.lang.Object
io.camunda.zeebe.engine.processing.common.CatchEventBehavior

public final class CatchEventBehavior extends Object
  • Constructor Details

  • Method Details

    • unsubscribeFromEvents

      public void unsubscribeFromEvents(long elementInstanceKey)
      Unsubscribe from all events in the scope of the element instance.
      Parameters:
      elementInstanceKey - the element instance key to subscript from
    • unsubscribeEventSubprocesses

      public void unsubscribeEventSubprocesses(BpmnElementContext context)
      Unsubscribe from all event subprocesses in the scope of the element instance. Ignores other event subscriptions in the scope.
      Parameters:
      context - the context to subscript from
    • subscribeToEvents

      public Either<Failure,Void> subscribeToEvents(BpmnElementContext context, ExecutableCatchEventSupplier supplier)
      Returns:
      either a failure or nothing
    • subscribeToTimerEvent

      public void subscribeToTimerEvent(long elementInstanceKey, long processInstanceKey, long processDefinitionKey, org.agrona.DirectBuffer handlerNodeId, Timer timer)
    • unsubscribeFromTimerEvent

      public void unsubscribeFromTimerEvent(TimerInstance timer)