Class DocumentEventDefinition
java.lang.Object
org.flowable.bpmn.model.BaseElement
org.flowable.bpmn.model.EventDefinition
com.flowable.platform.bpmn.model.documentevent.DocumentEventDefinition
- All Implemented Interfaces:
org.flowable.bpmn.model.CustomBpmnEventDefinition, org.flowable.bpmn.model.HasExtensionAttributes
public class DocumentEventDefinition
extends org.flowable.bpmn.model.EventDefinition
implements org.flowable.bpmn.model.CustomBpmnEventDefinition
Typed BPMN
EventDefinition for the <flowable:documentEvent> extension element. Marked as a
CustomBpmnEventDefinition so the BPMN writer routes it through the extension-elements path. The supported
locations let the standard validators (IntermediateCatchEventValidator, BoundaryEventValidator,
StartEventValidator, EventSubprocessValidator) accept the definition without a platform-side
validator override.
The lifecycleEvents and locations lists carry the modeler-facing event selection (logical OR
across the list of lifecycles, OR across the list of locations) — one event-registry subscription is created
per (lifecycle × location) pair at deploy or activation time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected DocumentEventFilenameFilterprotected Stringprotected List<DocumentEventLocation> protected booleanprotected StringFields inherited from class org.flowable.bpmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Set<org.flowable.bpmn.model.EventDefinitionLocation> booleanvoidsetDefinitionKey(String definitionKey) voidsetFilenameFilter(DocumentEventFilenameFilter filenameFilter) voidsetLifecycleEvents(List<String> lifecycleEvents) voidsetListVariableName(String listVariableName) voidsetLocations(List<DocumentEventLocation> locations) voidsetTransientVariable(boolean transientVariable) voidsetValues(DocumentEventDefinition other) voidsetVariableName(String variableName) Methods inherited from class org.flowable.bpmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
Field Details
-
lifecycleEvents
-
locations
-
definitionKey
-
filenameFilter
-
variableName
-
listVariableName
-
transientVariable
protected boolean transientVariable
-
-
Constructor Details
-
DocumentEventDefinition
public DocumentEventDefinition()
-
-
Method Details
-
getSupportedLocations
- Specified by:
getSupportedLocationsin classorg.flowable.bpmn.model.EventDefinition
-
getLifecycleEvents
-
setLifecycleEvents
-
getLocations
-
setLocations
-
getDefinitionKey
-
setDefinitionKey
-
getFilenameFilter
-
setFilenameFilter
-
getVariableName
-
setVariableName
-
getListVariableName
-
setListVariableName
-
isTransientVariable
public boolean isTransientVariable() -
setTransientVariable
public void setTransientVariable(boolean transientVariable) -
clone
- Specified by:
clonein classorg.flowable.bpmn.model.EventDefinition
-
setValues
-