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

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

public class CompensationEventActivityBehavior
extends FlowNodeActivityBehavior

Behavior for a compensation end event.

Author:
Philipp Ossler
See Also:
IntermediateThrowCompensationEventActivityBehavior

Field Summary
protected  CompensateEventDefinition compensateEventDefinition
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior, LOG
 
Constructor Summary
CompensationEventActivityBehavior(CompensateEventDefinition compensateEventDefinition)
           
 
Method Summary
protected  List<EventSubscriptionEntity> collectEventSubscriptions(ActivityExecution execution)
           
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 void signal(ActivityExecution execution, String signalName, Object signalData)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
doLeave, leave, leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compensateEventDefinition

protected final CompensateEventDefinition compensateEventDefinition
Constructor Detail

CompensationEventActivityBehavior

public CompensationEventActivityBehavior(CompensateEventDefinition compensateEventDefinition)
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

collectEventSubscriptions

protected List<EventSubscriptionEntity> collectEventSubscriptions(ActivityExecution execution)

signal

public void signal(ActivityExecution execution,
                   String signalName,
                   Object signalData)
            throws Exception
Specified by:
signal in interface SignallableActivityBehavior
Overrides:
signal in class FlowNodeActivityBehavior
Throws:
Exception


Copyright © 2017 camunda services GmbH. All rights reserved.