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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.TerminateEndEventActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior

public class TerminateEndEventActivityBehavior
extends FlowNodeActivityBehavior

The BPMN terminate End Event.

The hosting activity must be marked PvmActivity.isCancelScope() since it will cancel the scope in which it is embedded. When this activitiy is executed, the sope execution will have performed "cancel scope" behavior and the ActivityBehavior will be called on the scope execution.

Author:
Daniel Meyer, Roman Smirnov

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
TerminateEndEventActivityBehavior()
           
 
Method Summary
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions, signal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminateEndEventActivityBehavior

public TerminateEndEventActivityBehavior()
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


Copyright © 2014 camunda services GmbH. All rights reserved.