org.camunda.bpm.engine.impl.bpmn.behavior
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

Method Summary
 ConditionalEventDefinition getConditionalEventDefinition()
          Returns the current conditional event definition.
 void leaveOnSatisfiedCondition(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 informations
variableEvent - the variableEvent to evaluate the condition


Copyright © 2017 camunda services GmbH. All rights reserved.