Class AbstractBpmnParseHandler<T extends org.flowable.bpmn.model.BaseElement>
- java.lang.Object
-
- org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<T>
-
- All Implemented Interfaces:
BpmnParseHandler
- Direct Known Subclasses:
AbstractFlowNodeBpmnParseHandler,CancelEventDefinitionParseHandler,CompensateEventDefinitionParseHandler,ConditionalEventDefinitionParseHandler,ErrorEventDefinitionParseHandler,EscalationEventDefinitionParseHandler,MessageEventDefinitionParseHandler,ProcessParseHandler,SequenceFlowParseHandler,SignalEventDefinitionParseHandler,TimerEventDefinitionParseHandler,VariableListenerEventDefinitionParseHandler
public abstract class AbstractBpmnParseHandler<T extends org.flowable.bpmn.model.BaseElement> extends Object implements BpmnParseHandler
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_ERROR_EVENT_DEFINITIONSstatic StringPROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATIONstatic StringPROPERTYNAME_TIMER_DECLARATION
-
Constructor Summary
Constructors Constructor Description AbstractBpmnParseHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcreateAssociation(BpmnParse bpmnParse, org.flowable.bpmn.model.Association association)protected ExecutionListenercreateExecutionListener(BpmnParse bpmnParse, org.flowable.bpmn.model.FlowableListener listener)protected abstract voidexecuteParse(BpmnParse bpmnParse, T element)protected abstract Class<? extends org.flowable.bpmn.model.BaseElement>getHandledType()Set<Class<? extends org.flowable.bpmn.model.BaseElement>>getHandledTypes()The types for which this handler must be called during process parsing.protected StringgetPrecedingEventBasedGateway(BpmnParse bpmnParse, org.flowable.bpmn.model.IntermediateCatchEvent event)voidparse(BpmnParse bpmnParse, org.flowable.bpmn.model.BaseElement element)The actual delegation method.protected voidprocessArtifacts(BpmnParse bpmnParse, Collection<org.flowable.bpmn.model.Artifact> artifacts)
-
-
-
Field Detail
-
PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION
public static final String PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION
- See Also:
- Constant Field Values
-
PROPERTYNAME_ERROR_EVENT_DEFINITIONS
public static final String PROPERTYNAME_ERROR_EVENT_DEFINITIONS
- See Also:
- Constant Field Values
-
PROPERTYNAME_TIMER_DECLARATION
public static final String PROPERTYNAME_TIMER_DECLARATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHandledTypes
public Set<Class<? extends org.flowable.bpmn.model.BaseElement>> getHandledTypes()
Description copied from interface:BpmnParseHandlerThe types for which this handler must be called during process parsing.- Specified by:
getHandledTypesin interfaceBpmnParseHandler
-
getHandledType
protected abstract Class<? extends org.flowable.bpmn.model.BaseElement> getHandledType()
-
parse
public void parse(BpmnParse bpmnParse, org.flowable.bpmn.model.BaseElement element)
Description copied from interface:BpmnParseHandlerThe actual delegation method. The parser will calls this method on a match with theBpmnParseHandler.getHandledTypes()return value.- Specified by:
parsein interfaceBpmnParseHandler- Parameters:
bpmnParse- TheBpmnParseinstance that acts as container for all things produced during the parsing.
-
createExecutionListener
protected ExecutionListener createExecutionListener(BpmnParse bpmnParse, org.flowable.bpmn.model.FlowableListener listener)
-
getPrecedingEventBasedGateway
protected String getPrecedingEventBasedGateway(BpmnParse bpmnParse, org.flowable.bpmn.model.IntermediateCatchEvent event)
-
processArtifacts
protected void processArtifacts(BpmnParse bpmnParse, Collection<org.flowable.bpmn.model.Artifact> artifacts)
-
createAssociation
protected void createAssociation(BpmnParse bpmnParse, org.flowable.bpmn.model.Association association)
-
-