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

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.ThrowEscalationEventActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior

public class ThrowEscalationEventActivityBehavior
extends AbstractBpmnActivityBehavior

The activity behavior for an intermediate throwing escalation event and an escalation end event.

Author:
Philipp Ossler

Nested Class Summary
protected  class ThrowEscalationEventActivityBehavior.EscalationEventDefinitionFinder
           
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected  Escalation escalation
           
 
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
ThrowEscalationEventActivityBehavior(Escalation escalation)
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
protected  void executeEscalationHandler(EscalationEventDefinition escalationEventDefinition, ActivityExecutionMappingCollector activityExecutionMappingCollector)
           
protected  ActivityExecution getChildExecutionForActivity(ActivityExecution execution, PvmActivity activity)
           
protected  PvmScope getScopeForEscalation(EscalationEventDefinition escalationEventDefinition)
           
protected  boolean isEscalationEventSubprocessOnTheSameScope(PvmActivity escalationHandler, PvmActivity activity)
           
protected  void leaveExecution(ActivityExecution execution, PvmActivity currentActivity, EscalationEventDefinition escalationEventDefinition)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, 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

escalation

protected final Escalation escalation
Constructor Detail

ThrowEscalationEventActivityBehavior

public ThrowEscalationEventActivityBehavior(Escalation escalation)
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 FlowNodeActivityBehavior
Throws:
Exception

executeEscalationHandler

protected void executeEscalationHandler(EscalationEventDefinition escalationEventDefinition,
                                        ActivityExecutionMappingCollector activityExecutionMappingCollector)

getScopeForEscalation

protected PvmScope getScopeForEscalation(EscalationEventDefinition escalationEventDefinition)

leaveExecution

protected void leaveExecution(ActivityExecution execution,
                              PvmActivity currentActivity,
                              EscalationEventDefinition escalationEventDefinition)

isEscalationEventSubprocessOnTheSameScope

protected boolean isEscalationEventSubprocessOnTheSameScope(PvmActivity escalationHandler,
                                                            PvmActivity activity)

getChildExecutionForActivity

protected ActivityExecution getChildExecutionForActivity(ActivityExecution execution,
                                                         PvmActivity activity)


Copyright © 2016 camunda services GmbH. All rights reserved.