public class AbstractBpmnActivityBehavior extends FlowNodeActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected static BpmnBehaviorLogger |
LOG |
bpmnActivityBehavior| Constructor and Description |
|---|
AbstractBpmnActivityBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createCompensateEventSubscription(ActivityExecution execution,
ActivityImpl compensationHandler) |
void |
doLeave(ActivityExecution execution)
Subclasses that call leave() will first pass through this method, before
the regular
FlowNodeActivityBehavior.leave(ActivityExecution) is
called. |
protected void |
executeWithErrorPropagation(ActivityExecution execution,
Callable<Void> toExecute)
Takes an
ActivityExecution and an Callable and wraps
the call to the Callable with the proper error propagation. |
protected boolean |
isCompensationEventSubprocess(ActivityImpl activity) |
void |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
protected void |
signalCompensationDone(ActivityExecution execution) |
execute, leave, leaveIgnoreConditionsprotected static final BpmnBehaviorLogger LOG
public void doLeave(ActivityExecution execution)
FlowNodeActivityBehavior.leave(ActivityExecution) is
called.doLeave in class FlowNodeActivityBehaviorprotected boolean isCompensationEventSubprocess(ActivityImpl activity)
protected void createCompensateEventSubscription(ActivityExecution execution, ActivityImpl compensationHandler)
protected void executeWithErrorPropagation(ActivityExecution execution, Callable<Void> toExecute) throws Exception
ActivityExecution and an Callable and wraps
the call to the Callable with the proper error propagation. This method
also makes sure that exceptions not caught by following activities in the
process will be thrown and not propagated.execution - toExecute - Exceptionpublic void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal in interface SignallableActivityBehaviorsignal in class FlowNodeActivityBehaviorExceptionprotected void signalCompensationDone(ActivityExecution execution)
Copyright © 2021. All rights reserved.