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, leaveIgnoreConditions
protected static final BpmnBehaviorLogger LOG
public void doLeave(ActivityExecution execution)
FlowNodeActivityBehavior.leave(ActivityExecution)
is
called.doLeave
in class FlowNodeActivityBehavior
protected 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
- Exception
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class FlowNodeActivityBehavior
Exception
protected void signalCompensationDone(ActivityExecution execution)
Copyright © 2022. All rights reserved.