Class DocumentEventBoundaryBehavior

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

public class DocumentEventBoundaryBehavior extends org.flowable.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior
Activity behavior for <flowable:documentEvent> attached to an activity as a boundary event. Extends BoundaryEventActivityBehavior so the standard host-activity cancellation semantics apply (interrupting boundary cancels the host, non-interrupting leaves it live). The engine creates a boundary execution at host activation regardless of the behavior class — createBoundaryEvents keys off boundaryEvent.getEventDefinitions() being non-empty and non-compensate, and our DocumentEventDefinition is already on that list. Subscription registration and filename post-filtering are handled here against DocumentEventSubscriptionRegistrar.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final DocumentEventDeclaration
     

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

    interrupting

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

    bpmnActivityBehavior
  • Constructor Summary

    Constructors
    Constructor
    Description
    DocumentEventBoundaryBehavior(DocumentEventDeclaration declaration, boolean interrupting)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.flowable.engine.delegate.DelegateExecution execution)
     
     
    void
    trigger(org.flowable.engine.delegate.DelegateExecution execution, String triggerName, Object triggerData)
     

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

    deleteChildExecutions, executeInterruptingBehavior, executeNonInterruptingBehavior, isInterrupting, setInterrupting

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

    leave, leaveIgnoreConditions, parseActivityType

    Methods inherited from class Object

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

  • Constructor Details

    • DocumentEventBoundaryBehavior

      public DocumentEventBoundaryBehavior(DocumentEventDeclaration declaration, boolean interrupting)
  • Method Details

    • 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.BoundaryEventActivityBehavior
    • 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.BoundaryEventActivityBehavior
    • getDeclaration

      public DocumentEventDeclaration getDeclaration()