Class IntermediateConditionalEventBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateConditionalEventBehavior
-
- All Implemented Interfaces:
ConditionalEventBehavior,CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior
public class IntermediateConditionalEventBehavior extends IntermediateCatchEventActivityBehavior implements ConditionalEventBehavior
- Author:
- Christopher Zell
-
-
Field Summary
Fields Modifier and Type Field Description protected ConditionalEventDefinitionconditionalEvent-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
isAfterEventBasedGateway
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent, boolean isAfterEventBasedGateway)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ActivityExecution execution)Default behaviour: just leave the activity with no extra functionality.ConditionalEventDefinitiongetConditionalEventDefinition()Returns the current conditional event definition.voidleaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)Checks the condition, on satisfaction the activity is leaved.-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
isAfterEventBasedGateway, signal
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Field Detail
-
conditionalEvent
protected final ConditionalEventDefinition conditionalEvent
-
-
Constructor Detail
-
IntermediateConditionalEventBehavior
public IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent, boolean isAfterEventBasedGateway)
-
-
Method Detail
-
getConditionalEventDefinition
public ConditionalEventDefinition getConditionalEventDefinition()
Description copied from interface:ConditionalEventBehaviorReturns the current conditional event definition.- Specified by:
getConditionalEventDefinitionin interfaceConditionalEventBehavior- Returns:
- the conditional event definition
-
execute
public void execute(ActivityExecution execution) throws Exception
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classIntermediateCatchEventActivityBehavior- Throws:
Exception
-
leaveOnSatisfiedCondition
public void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent)
Description copied from interface:ConditionalEventBehaviorChecks the condition, on satisfaction the activity is leaved.- Specified by:
leaveOnSatisfiedConditionin interfaceConditionalEventBehavior- Parameters:
eventSubscription- the event subscription which contains all necessary informationsvariableEvent- the variableEvent to evaluate the condition
-
-