public class ClassDelegateActivityBehavior extends AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected String |
className |
protected List<FieldDeclaration> |
fieldDeclarations |
protected static BpmnBehaviorLogger |
LOG |
bpmnActivityBehavior
Constructor and Description |
---|
ClassDelegateActivityBehavior(Class<?> clazz,
List<FieldDeclaration> fieldDeclarations) |
ClassDelegateActivityBehavior(String className,
List<FieldDeclaration> fieldDeclarations) |
Modifier and Type | Method and Description |
---|---|
protected void |
doSignal(ActivityExecution execution,
String signalName,
Object signalData) |
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected ActivityBehavior |
getActivityBehaviorInstance(ActivityExecution execution) |
void |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
leave, leaveIgnoreConditions
protected static final BpmnBehaviorLogger LOG
protected String className
protected List<FieldDeclaration> fieldDeclarations
public ClassDelegateActivityBehavior(String className, List<FieldDeclaration> fieldDeclarations)
public ClassDelegateActivityBehavior(Class<?> clazz, List<FieldDeclaration> fieldDeclarations)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class AbstractBpmnActivityBehavior
Exception
protected void doSignal(ActivityExecution execution, String signalName, Object signalData) throws Exception
Exception
protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution)
Copyright © 2017. All rights reserved.