Class DocumentEventEventSubProcessStartBehavior

java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
com.flowable.platform.engine.impl.documentevent.bpmn.DocumentEventEventSubProcessStartBehavior
All Implemented Interfaces:
Serializable, org.flowable.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior, org.flowable.engine.impl.delegate.ActivityBehavior, org.flowable.engine.impl.delegate.TriggerableActivityBehavior

public class DocumentEventEventSubProcessStartBehavior extends org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior implements org.flowable.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior
Document Event start behavior for an event sub-process. Mirrors the structure of EventSubProcessEventRegistryStartEventActivityBehavior from OSS: the initializer creates the waiting child execution at the ESP start event and registers one __flowableDocument* subscription per configured lifecycle, scoped to that execution; on trigger the behavior runs the standard interrupting / non-interrupting spawn-the-event-sub-process flow.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final DocumentEventDeclaration
     

    Fields inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior

    multiInstanceActivityBehavior, v5MultiInstanceActivityBehavior

    Fields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior

    bpmnActivityBehavior
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.flowable.engine.delegate.DelegateExecution execution)
     
     
    void
    initializeEventSubProcessStart(org.flowable.engine.impl.bpmn.behavior.EventSubProcessStartEventInitializerContext context)
     
    protected void
    interruptSiblings(org.flowable.engine.impl.persistence.entity.ExecutionEntityManager executionEntityManager, org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, org.flowable.bpmn.model.StartEvent startEvent)
     
    protected Map<String,Object>
    processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects)
     
    void
    trigger(org.flowable.engine.delegate.DelegateExecution execution, String triggerName, Object triggerData)
     

    Methods inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior

    executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, getV5MultiInstanceActivityBehavior, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior, setV5MultiInstanceActivityBehavior

    Methods inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior

    leaveIgnoreConditions, parseActivityType

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • DocumentEventEventSubProcessStartBehavior

      public DocumentEventEventSubProcessStartBehavior(DocumentEventDeclaration declaration)
  • Method Details

    • initializeEventSubProcessStart

      public void initializeEventSubProcessStart(org.flowable.engine.impl.bpmn.behavior.EventSubProcessStartEventInitializerContext context)
      Specified by:
      initializeEventSubProcessStart in interface org.flowable.engine.impl.bpmn.behavior.EventSubProcessStartEventActivityBehavior
    • execute

      public void execute(org.flowable.engine.delegate.DelegateExecution execution)
      Specified by:
      execute in interface org.flowable.engine.impl.delegate.ActivityBehavior
      Overrides:
      execute in class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
    • trigger

      public void trigger(org.flowable.engine.delegate.DelegateExecution execution, String triggerName, Object triggerData)
      Specified by:
      trigger in interface org.flowable.engine.impl.delegate.TriggerableActivityBehavior
      Overrides:
      trigger in class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
    • getDeclaration

      public DocumentEventDeclaration getDeclaration()
    • processDataObjects

      protected Map<String,Object> processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects)
    • interruptSiblings

      protected void interruptSiblings(org.flowable.engine.impl.persistence.entity.ExecutionEntityManager executionEntityManager, org.flowable.engine.impl.persistence.entity.ExecutionEntity executionEntity, org.flowable.bpmn.model.StartEvent startEvent)