public class CompensationEventActivityBehavior extends FlowNodeActivityBehavior
IntermediateThrowCompensationEventActivityBehavior
Modifier and Type | Field and Description |
---|---|
protected CompensateEventDefinition |
compensateEventDefinition |
bpmnActivityBehavior, LOG
Constructor and Description |
---|
CompensationEventActivityBehavior(CompensateEventDefinition compensateEventDefinition) |
Modifier and Type | Method and Description |
---|---|
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) |
doLeave, leave, leaveIgnoreConditions
protected final CompensateEventDefinition compensateEventDefinition
public CompensationEventActivityBehavior(CompensateEventDefinition compensateEventDefinition)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
protected List<EventSubscriptionEntity> collectEventSubscriptions(ActivityExecution execution)
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class FlowNodeActivityBehavior
Exception
Copyright © 2017. All rights reserved.