public class IntermediateConditionalEventBehavior extends IntermediateCatchEventActivityBehavior implements ConditionalEventBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException| Modifier and Type | Field and Description |
|---|---|
protected ConditionalEventDefinition |
conditionalEvent |
isAfterEventBasedGatewayLOGbpmnActivityBehavior| Constructor and Description |
|---|
IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent,
boolean isAfterEventBasedGateway) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
ConditionalEventDefinition |
getConditionalEventDefinition()
Returns the current conditional event definition.
|
void |
leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription,
VariableEvent variableEvent)
Checks the condition, on satisfaction the activity is leaved.
|
isAfterEventBasedGateway, signalcheckIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDoneleave, leaveIgnoreConditionsprotected final ConditionalEventDefinition conditionalEvent
public IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent, boolean isAfterEventBasedGateway)
public ConditionalEventDefinition getConditionalEventDefinition()
ConditionalEventBehaviorgetConditionalEventDefinition in interface ConditionalEventBehaviorpublic void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehaviorexecute in interface CoreActivityBehavior<ActivityExecution>execute in interface ActivityBehaviorexecute in class IntermediateCatchEventActivityBehaviorExceptionpublic void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)
ConditionalEventBehaviorleaveOnSatisfiedCondition in interface ConditionalEventBehavioreventSubscription - the event subscription which contains all necessary informationsvariableEvent - the variableEvent to evaluate the conditionCopyright © 2013–2019 camunda services GmbH. All rights reserved.