Interface ConditionalEventBehavior

All Known Implementing Classes:
BoundaryConditionalEventActivityBehavior, EventSubProcessStartConditionalEventActivityBehavior, IntermediateConditionalEventBehavior

public interface ConditionalEventBehavior
Represents an interface for the condition event behaviors. Makes it possible to leave the current activity if the condition of the conditional event is satisfied.
Author:
Christopher Zell <christopher.zell@camunda.com>
  • Method Details

    • getConditionalEventDefinition

      ConditionalEventDefinition getConditionalEventDefinition()
      Returns the current conditional event definition.
      Returns:
      the conditional event definition
    • leaveOnSatisfiedCondition

      void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)
      Checks the condition, on satisfaction the activity is leaved.
      Parameters:
      eventSubscription - the event subscription which contains all necessary informations
      variableEvent - the variableEvent to evaluate the condition