Interface ConditionalEventBehavior
-
- All Known Implementing Classes:
BoundaryConditionalEventActivityBehavior,EventSubProcessStartConditionalEventActivityBehavior,IntermediateConditionalEventBehavior
public interface ConditionalEventBehaviorRepresents 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditionalEventDefinitiongetConditionalEventDefinition()Returns the current conditional event definition.voidleaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)Checks the condition, on satisfaction the activity is leaved.
-
-
-
Method Detail
-
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
-
-