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
FieldsFields inherited from class org.flowable.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior
interruptingFields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
ConstructorsConstructorDescriptionDocumentEventBoundaryBehavior(DocumentEventDeclaration declaration, boolean interrupting) -
Method Summary
Methods inherited from class org.flowable.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior
deleteChildExecutions, executeInterruptingBehavior, executeNonInterruptingBehavior, isInterrupting, setInterruptingMethods inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions, parseActivityType
-
Field Details
-
declaration
-
-
Constructor Details
-
DocumentEventBoundaryBehavior
-
-
Method Details
-
execute
public void execute(org.flowable.engine.delegate.DelegateExecution execution) - Specified by:
executein interfaceorg.flowable.engine.impl.delegate.ActivityBehavior- Overrides:
executein classorg.flowable.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior
-
trigger
public void trigger(org.flowable.engine.delegate.DelegateExecution execution, String triggerName, Object triggerData) - Specified by:
triggerin interfaceorg.flowable.engine.impl.delegate.TriggerableActivityBehavior- Overrides:
triggerin classorg.flowable.engine.impl.bpmn.behavior.BoundaryEventActivityBehavior
-
getDeclaration
-