public abstract class AbstractBpmnParseHandler<T extends org.activiti.bpmn.model.BaseElement> extends Object implements BpmnParseHandler
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTYNAME_ERROR_EVENT_DEFINITIONS |
static String |
PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION |
static String |
PROPERTYNAME_IS_FOR_COMPENSATION |
static String |
PROPERTYNAME_TIMER_DECLARATION |
Constructor and Description |
---|
AbstractBpmnParseHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEventSubscriptionDeclaration(BpmnParse bpmnParse,
EventSubscriptionDeclaration subscription,
org.activiti.bpmn.model.EventDefinition parsedEventDefinition,
ScopeImpl scope) |
ActivityImpl |
createActivityOnCurrentScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName) |
ActivityImpl |
createActivityOnScope(BpmnParse bpmnParse,
org.activiti.bpmn.model.FlowElement flowElement,
String xmlLocalName,
ScopeImpl scopeElement) |
protected void |
createAssociation(BpmnParse bpmnParse,
org.activiti.bpmn.model.Association association,
ScopeImpl parentScope) |
protected ExecutionListener |
createExecutionListener(BpmnParse bpmnParse,
org.activiti.bpmn.model.ActivitiListener activitiListener) |
protected void |
createExecutionListenersOnScope(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
ScopeImpl scope) |
protected void |
createExecutionListenersOnTransition(BpmnParse bpmnParse,
List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList,
TransitionImpl transition) |
protected IOSpecification |
createIOSpecification(BpmnParse bpmnParse,
org.activiti.bpmn.model.IOSpecification specificationModel) |
protected abstract void |
executeParse(BpmnParse bpmnParse,
T element) |
protected ActivityImpl |
findActivity(BpmnParse bpmnParse,
String id) |
protected abstract Class<? extends org.activiti.bpmn.model.BaseElement> |
getHandledType() |
Set<Class<? extends org.activiti.bpmn.model.BaseElement>> |
getHandledTypes()
The types for which this handler must be calleding during process parsing.
|
protected String |
getPrecedingEventBasedGateway(BpmnParse bpmnParse,
org.activiti.bpmn.model.IntermediateCatchEvent event) |
void |
parse(BpmnParse bpmnParse,
org.activiti.bpmn.model.BaseElement element)
The actual delegation method.
|
protected void |
processArtifacts(BpmnParse bpmnParse,
Collection<org.activiti.bpmn.model.Artifact> artifacts,
ScopeImpl scope) |
protected Map<String,Object> |
processDataObjects(BpmnParse bpmnParse,
Collection<org.activiti.bpmn.model.ValuedDataObject> dataObjects,
ScopeImpl scope) |
public static final String PROPERTYNAME_IS_FOR_COMPENSATION
public static final String PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION
public static final String PROPERTYNAME_ERROR_EVENT_DEFINITIONS
public static final String PROPERTYNAME_TIMER_DECLARATION
public Set<Class<? extends org.activiti.bpmn.model.BaseElement>> getHandledTypes()
BpmnParseHandler
getHandledTypes
in interface BpmnParseHandler
protected abstract Class<? extends org.activiti.bpmn.model.BaseElement> getHandledType()
public void parse(BpmnParse bpmnParse, org.activiti.bpmn.model.BaseElement element)
BpmnParseHandler
BpmnParseHandler.getHandledTypes()
return value.parse
in interface BpmnParseHandler
bpmnParse
- The BpmnParse
instance that acts as container
for all things produced during the parsing.protected ActivityImpl findActivity(BpmnParse bpmnParse, String id)
public ActivityImpl createActivityOnCurrentScope(BpmnParse bpmnParse, org.activiti.bpmn.model.FlowElement flowElement, String xmlLocalName)
public ActivityImpl createActivityOnScope(BpmnParse bpmnParse, org.activiti.bpmn.model.FlowElement flowElement, String xmlLocalName, ScopeImpl scopeElement)
protected void createExecutionListenersOnScope(BpmnParse bpmnParse, List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList, ScopeImpl scope)
protected void createExecutionListenersOnTransition(BpmnParse bpmnParse, List<org.activiti.bpmn.model.ActivitiListener> activitiListenerList, TransitionImpl transition)
protected ExecutionListener createExecutionListener(BpmnParse bpmnParse, org.activiti.bpmn.model.ActivitiListener activitiListener)
protected void addEventSubscriptionDeclaration(BpmnParse bpmnParse, EventSubscriptionDeclaration subscription, org.activiti.bpmn.model.EventDefinition parsedEventDefinition, ScopeImpl scope)
protected String getPrecedingEventBasedGateway(BpmnParse bpmnParse, org.activiti.bpmn.model.IntermediateCatchEvent event)
protected IOSpecification createIOSpecification(BpmnParse bpmnParse, org.activiti.bpmn.model.IOSpecification specificationModel)
protected void processArtifacts(BpmnParse bpmnParse, Collection<org.activiti.bpmn.model.Artifact> artifacts, ScopeImpl scope)
protected void createAssociation(BpmnParse bpmnParse, org.activiti.bpmn.model.Association association, ScopeImpl parentScope)
Copyright © 2016 Alfresco. All rights reserved.