public class IntermediateConditionalEventBehavior extends IntermediateCatchEventActivityBehavior implements ConditionalEventBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected ConditionalEventDefinition |
conditionalEvent |
isAfterEventBasedGateway
LOG
bpmnActivityBehavior
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, signal
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
leave, leaveIgnoreConditions
protected final ConditionalEventDefinition conditionalEvent
public IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent, boolean isAfterEventBasedGateway)
public ConditionalEventDefinition getConditionalEventDefinition()
ConditionalEventBehavior
getConditionalEventDefinition
in interface ConditionalEventBehavior
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class IntermediateCatchEventActivityBehavior
Exception
public void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)
ConditionalEventBehavior
leaveOnSatisfiedCondition
in interface ConditionalEventBehavior
eventSubscription
- the event subscription which contains all necessary informationsvariableEvent
- the variableEvent to evaluate the conditionCopyright © 2017. All rights reserved.