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 Summary
Modifier and TypeMethodDescriptionReturns the current conditional event definition.voidleaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent) Checks the condition, on satisfaction the activity is leaved. 
- 
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 informationsvariableEvent- the variableEvent to evaluate the condition
 
 -