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 Details

  • Constructor Details

    • DocumentEventDefinition

      public DocumentEventDefinition()
  • Method Details

    • getSupportedLocations

      public Set<org.flowable.bpmn.model.EventDefinitionLocation> getSupportedLocations()
      Specified by:
      getSupportedLocations in class org.flowable.bpmn.model.EventDefinition
    • getLifecycleEvents

      public List<String> getLifecycleEvents()
    • setLifecycleEvents

      public void setLifecycleEvents(List<String> lifecycleEvents)
    • getLocations

      public List<DocumentEventLocation> getLocations()
    • setLocations

      public void setLocations(List<DocumentEventLocation> locations)
    • getDefinitionKey

      public String getDefinitionKey()
    • setDefinitionKey

      public void setDefinitionKey(String definitionKey)
    • getFilenameFilter

      public DocumentEventFilenameFilter getFilenameFilter()
    • setFilenameFilter

      public void setFilenameFilter(DocumentEventFilenameFilter filenameFilter)
    • getVariableName

      public String getVariableName()
    • setVariableName

      public void setVariableName(String variableName)
    • getListVariableName

      public String getListVariableName()
    • setListVariableName

      public void setListVariableName(String listVariableName)
    • isTransientVariable

      public boolean isTransientVariable()
    • setTransientVariable

      public void setTransientVariable(boolean transientVariable)
    • clone

      public DocumentEventDefinition clone()
      Specified by:
      clone in class org.flowable.bpmn.model.EventDefinition
    • setValues

      public void setValues(DocumentEventDefinition other)