public class CallActivityBehavior extends AbstractBpmnActivityBehavior implements SubProcessActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected List<org.activiti.bpmn.model.MapExceptionEntry> |
mapExceptions |
protected Expression |
processDefinitionExpression |
protected String |
processDefinitonKey |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
CallActivityBehavior(Expression processDefinitionExpression,
List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions) |
CallActivityBehavior(String processDefinitionKey,
List<org.activiti.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.
|
void |
execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected ProcessDefinition |
findProcessDefinition(String processDefinitionKey,
String tenantId) |
String |
getProcessDefinitonKey() |
protected void |
initializeVariables(ExecutionEntity subProcessInstance,
Map<String,Object> variables) |
protected Map<String,Object> |
processDataObjects(Collection<org.activiti.bpmn.model.ValuedDataObject> dataObjects) |
void |
setProcessDefinitonKey(String processDefinitonKey) |
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehaviorleaveIgnoreConditions, parseActivityType, triggerprotected String processDefinitonKey
protected Expression processDefinitionExpression
protected List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions
public CallActivityBehavior(String processDefinitionKey, List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions)
public CallActivityBehavior(Expression processDefinitionExpression, List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions)
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute 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 ProcessDefinition findProcessDefinition(String processDefinitionKey, String tenantId)
protected Map<String,Object> processDataObjects(Collection<org.activiti.bpmn.model.ValuedDataObject> dataObjects)
protected void initializeVariables(ExecutionEntity subProcessInstance, Map<String,Object> variables)
public void setProcessDefinitonKey(String processDefinitonKey)
public String getProcessDefinitonKey()
Copyright © 2016 Alfresco. All rights reserved.