org.camunda.bpm.engine.impl.bpmn.behavior
Class IntermediateConditionalEventBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected  ConditionalEventDefinition conditionalEvent
           
 
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
IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent, boolean isAfterEventBasedGateway)
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription, VariableEvent variableEvent, CommandContext commandContext)
          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
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conditionalEvent

protected final ConditionalEventDefinition conditionalEvent
Constructor Detail

IntermediateConditionalEventBehavior

public IntermediateConditionalEventBehavior(ConditionalEventDefinition conditionalEvent,
                                            boolean isAfterEventBasedGateway)
Method Detail

execute

public void execute(ActivityExecution execution)
             throws Exception
Description copied from class: FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.

Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>
Specified by:
execute in interface ActivityBehavior
Overrides:
execute in class IntermediateCatchEventActivityBehavior
Throws:
Exception

leaveOnSatisfiedCondition

public void leaveOnSatisfiedCondition(EventSubscriptionEntity eventSubscription,
                                      VariableEvent variableEvent,
                                      CommandContext commandContext)
Description copied from interface: ConditionalEventBehavior
Checks the condition, on satisfaction the activity is leaved.

Specified by:
leaveOnSatisfiedCondition in interface ConditionalEventBehavior
Parameters:
eventSubscription - the event subscription which contains all necessary informations
variableEvent - the variableEvent to evaluate the condition
commandContext - the current command context


Copyright © 2016 camunda services GmbH. All rights reserved.