public class ClassDelegate extends AbstractClassDelegate implements TaskListener, ExecutionListener, TransactionDependentExecutionListener, TransactionDependentTaskListener, SubProcessActivityBehavior, CustomPropertiesResolver
| Modifier and Type | Field and Description |
|---|---|
protected ActivityBehavior |
activityBehaviorInstance |
protected CustomPropertiesResolver |
customPropertiesResolverInstance |
protected List<org.flowable.bpmn.model.MapExceptionEntry> |
mapExceptions |
protected Expression |
skipExpression |
protected boolean |
triggerable |
className, fieldDeclarations, serviceTaskIdmultiInstanceActivityBehaviorbpmnActivityBehaviorON_TRANSACTION_BEFORE_COMMIT, ON_TRANSACTION_COMMITTED, ON_TRANSACTION_ROLLED_BACKEVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKEON_TRANSACTION_COMMITTED, ON_TRANSACTION_COMMITTING, ON_TRANSACTION_ROLLED_BACKEVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE| Constructor and Description |
|---|
ClassDelegate(Class<?> clazz,
List<FieldDeclaration> fieldDeclarations) |
ClassDelegate(Class<?> clazz,
List<FieldDeclaration> fieldDeclarations,
Expression skipExpression) |
ClassDelegate(String className,
List<FieldDeclaration> fieldDeclarations) |
ClassDelegate(String className,
List<FieldDeclaration> fieldDeclarations,
Expression skipExpression) |
ClassDelegate(String id,
String className,
List<FieldDeclaration> fieldDeclarations,
boolean triggerable,
Expression skipExpression,
List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
completed(DelegateExecution execution)
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
|
void |
completing(DelegateExecution execution,
DelegateExecution subProcessInstance)
called before the process instance is destroyed to allow this activity to extract data from the sub process instance.
|
protected ActivityBehavior |
determineBehaviour(ActivityBehavior delegateInstance) |
void |
execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected ActivityBehavior |
getActivityBehaviorInstance() |
Map<String,Object> |
getCustomPropertiesMap(DelegateExecution execution) |
protected CustomPropertiesResolver |
getCustomPropertiesResolverInstance() |
protected ExecutionListener |
getExecutionListenerInstance() |
protected TaskListener |
getTaskListenerInstance() |
protected TransactionDependentExecutionListener |
getTransactionDependentExecutionListenerInstance() |
protected TransactionDependentTaskListener |
getTransactionDependentTaskListenerInstance() |
void |
notify(DelegateExecution execution) |
void |
notify(DelegateTask delegateTask) |
void |
notify(String processInstanceId,
String executionId,
org.flowable.bpmn.model.FlowElement flowElement,
Map<String,Object> executionVariables,
Map<String,Object> customPropertiesMap) |
void |
notify(String processInstanceId,
String executionId,
org.flowable.bpmn.model.Task task,
Map<String,Object> executionVariables,
Map<String,Object> customPropertiesMap) |
void |
trigger(DelegateExecution execution,
String signalName,
Object signalData) |
applyFieldDeclaration, applyFieldDeclaration, applyFieldDeclaration, applyFieldDeclaration, defaultInstantiateDelegate, defaultInstantiateDelegate, defaultInstantiateDelegate, defaultInstantiateDelegate, getClassName, instantiateDelegateexecuteCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehaviorleaveIgnoreConditions, parseActivityTypeprotected ActivityBehavior activityBehaviorInstance
protected Expression skipExpression
protected List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions
protected CustomPropertiesResolver customPropertiesResolverInstance
protected boolean triggerable
public ClassDelegate(String className, List<FieldDeclaration> fieldDeclarations, Expression skipExpression)
public ClassDelegate(String id, String className, List<FieldDeclaration> fieldDeclarations, boolean triggerable, Expression skipExpression, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions)
public ClassDelegate(Class<?> clazz, List<FieldDeclaration> fieldDeclarations, Expression skipExpression)
public ClassDelegate(String className, List<FieldDeclaration> fieldDeclarations)
public ClassDelegate(Class<?> clazz, List<FieldDeclaration> fieldDeclarations)
public void notify(DelegateExecution execution)
notify in interface ExecutionListenerpublic void notify(String processInstanceId, String executionId, org.flowable.bpmn.model.FlowElement flowElement, Map<String,Object> executionVariables, Map<String,Object> customPropertiesMap)
notify in interface TransactionDependentExecutionListenerpublic Map<String,Object> getCustomPropertiesMap(DelegateExecution execution)
getCustomPropertiesMap in interface CustomPropertiesResolverpublic void notify(DelegateTask delegateTask)
notify in interface TaskListenerpublic void notify(String processInstanceId, String executionId, org.flowable.bpmn.model.Task task, Map<String,Object> executionVariables, Map<String,Object> customPropertiesMap)
notify in interface TransactionDependentTaskListenerprotected ExecutionListener getExecutionListenerInstance()
protected TransactionDependentExecutionListener getTransactionDependentExecutionListenerInstance()
protected CustomPropertiesResolver getCustomPropertiesResolverInstance()
protected TaskListener getTaskListenerInstance()
protected TransactionDependentTaskListener getTransactionDependentTaskListenerInstance()
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorpublic void trigger(DelegateExecution execution, String signalName, Object signalData)
trigger in interface TriggerableActivityBehaviortrigger in class FlowNodeActivityBehaviorpublic void completing(DelegateExecution execution, DelegateExecution subProcessInstance) throws Exception
SubProcessActivityBehaviorcompleting in interface SubProcessActivityBehaviorExceptionpublic void completed(DelegateExecution execution) throws Exception
SubProcessActivityBehaviorcompleted in interface SubProcessActivityBehaviorExceptionprotected ActivityBehavior getActivityBehaviorInstance()
protected ActivityBehavior determineBehaviour(ActivityBehavior delegateInstance)
Copyright © 2018 Flowable. All rights reserved.