Class DocumentEventDefinitionParseHandler
java.lang.Object
org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<DocumentEventDefinition>
com.flowable.platform.engine.impl.documentevent.bpmn.DocumentEventDefinitionParseHandler
- All Implemented Interfaces:
org.flowable.engine.parse.BpmnParseHandler
public class DocumentEventDefinitionParseHandler
extends org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<DocumentEventDefinition>
Installs the document-event activity behavior on the BPMN host element (
StartEvent at process level,
StartEvent inside an EventSubProcess, IntermediateCatchEvent or BoundaryEvent)
carrying a typed DocumentEventDefinition. Receives the typed model from the engine via
AbstractBpmnParseHandler.getHandledType() dispatch — no extension-element walking. Configuration
shape is validated by DocumentEventEventValidator ahead of deployment, so this handler only does
the wiring.-
Field Summary
Fields inherited from class org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler
PROPERTYNAME_ERROR_EVENT_DEFINITIONS, PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION, PROPERTYNAME_TIMER_DECLARATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddContentItemOutParameter(org.flowable.bpmn.model.Event event, DocumentEventDefinition definition) Add a<flowable:eventOutParameter source="contentItem" target="<configured-name>"/>extension element on the start event so the standardBpmnEventInstanceOutParameterHandlerwrites the matched content item as a process variable when the engine starts the instance viaProcessInstanceHelper.protected org.flowable.bpmn.model.ExtensionAttributeprotected voidexecuteParse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, DocumentEventDefinition definition) protected Class<? extends org.flowable.bpmn.model.BaseElement> protected DocumentEventDeclarationtoDeclaration(DocumentEventDefinition definition) protected List<DocumentEventDeclaration.ResolvedLocation> toResolvedLocations(List<DocumentEventLocation> locations) Methods inherited from class org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler
createAssociation, createExecutionListener, getHandledTypes, getPrecedingEventBasedGateway, parse, processArtifacts
-
Constructor Details
-
DocumentEventDefinitionParseHandler
public DocumentEventDefinitionParseHandler()
-
-
Method Details
-
getHandledType
- Specified by:
getHandledTypein classorg.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<DocumentEventDefinition>
-
executeParse
protected void executeParse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, DocumentEventDefinition definition) - Specified by:
executeParsein classorg.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<DocumentEventDefinition>
-
addContentItemOutParameter
protected void addContentItemOutParameter(org.flowable.bpmn.model.Event event, DocumentEventDefinition definition) Add a<flowable:eventOutParameter source="contentItem" target="<configured-name>"/>extension element on the start event so the standardBpmnEventInstanceOutParameterHandlerwrites the matched content item as a process variable when the engine starts the instance viaProcessInstanceHelper. -
attribute
-
toDeclaration
-
toResolvedLocations
protected List<DocumentEventDeclaration.ResolvedLocation> toResolvedLocations(List<DocumentEventLocation> locations)
-