public class ServiceTaskJavaDelegateActivityBehavior extends TaskActivityBehavior implements ActivityBehavior, ExecutionListener
AbstractBpmnActivityBehavior.ErrorDeclarationFinder, AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.LeafExecutionHierarchyWalker, AbstractBpmnActivityBehavior.ProcessInstanceCollector
Modifier and Type | Field and Description |
---|---|
protected JavaDelegate |
javaDelegate |
bpmnActivityBehavior
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Modifier | Constructor and Description |
---|---|
protected |
ServiceTaskJavaDelegateActivityBehavior() |
|
ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
void |
execute(DelegateExecution execution) |
void |
notify(DelegateExecution execution) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, getCompensationHandler, getCurrentFlowScope, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leaveIgnoreConditions
protected JavaDelegate javaDelegate
protected ServiceTaskJavaDelegateActivityBehavior()
public ServiceTaskJavaDelegateActivityBehavior(JavaDelegate javaDelegate)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public void notify(DelegateExecution execution) throws Exception
notify
in interface DelegateListener<DelegateExecution>
notify
in interface ExecutionListener
Exception
public void execute(DelegateExecution execution) throws Exception
Exception
Copyright © 2018. All rights reserved.