Class BpmNotificationUserTaskParseHandler

java.lang.Object
org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler<org.flowable.bpmn.model.UserTask>
org.flowable.engine.impl.bpmn.parser.handler.AbstractFlowNodeBpmnParseHandler<org.flowable.bpmn.model.UserTask>
org.flowable.engine.impl.bpmn.parser.handler.AbstractActivityBpmnParseHandler<org.flowable.bpmn.model.UserTask>
org.flowable.engine.impl.bpmn.parser.handler.UserTaskParseHandler
io.jmix.bpm.engine.parser.handler.BpmNotificationUserTaskParseHandler
All Implemented Interfaces:
org.flowable.engine.parse.BpmnParseHandler

public class BpmNotificationUserTaskParseHandler extends org.flowable.engine.impl.bpmn.parser.handler.UserTaskParseHandler
Custom-default UserTask parse handler that registers an internal task listener for each lifecycle event on which the user task declares a notification, then delegates to the standard Flowable handler so the listeners are wired.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected static final String
     
    protected static final Set<String>
    Task lifecycle events a notification may be bound to.

    Fields inherited from class org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler

    PROPERTYNAME_ERROR_EVENT_DEFINITIONS, PROPERTYNAME_EVENT_SUBSCRIPTION_DECLARATION, PROPERTYNAME_TIMER_DECLARATION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Set<String>
    collectNotificationEvents(org.flowable.bpmn.model.UserTask userTask)
     
    protected void
    executeParse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, org.flowable.bpmn.model.UserTask userTask)
     

    Methods inherited from class org.flowable.engine.impl.bpmn.parser.handler.UserTaskParseHandler

    getHandledType

    Methods inherited from class org.flowable.engine.impl.bpmn.parser.handler.AbstractActivityBpmnParseHandler

    createMultiInstanceActivityBehavior, createMultiInstanceLoopCharacteristics, parse

    Methods inherited from class org.flowable.engine.impl.bpmn.parser.handler.AbstractBpmnParseHandler

    createAssociation, createExecutionListener, getHandledTypes, getPrecedingEventBasedGateway, processArtifacts

    Methods inherited from class java.lang.Object

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

    • NOTIFICATION_ELEMENT

      protected static final String NOTIFICATION_ELEMENT
      See Also:
    • EVENT_ATTR

      protected static final String EVENT_ATTR
      See Also:
    • LISTENER_DELEGATE_EXPRESSION

      protected static final String LISTENER_DELEGATE_EXPRESSION
      See Also:
    • SUPPORTED_EVENTS

      protected static final Set<String> SUPPORTED_EVENTS
      Task lifecycle events a notification may be bound to. Limited to the events Flowable actually fires task listeners for; "all" is intentionally excluded because the runtime listener matches notifications by the concrete event name.
  • Constructor Details

    • BpmNotificationUserTaskParseHandler

      public BpmNotificationUserTaskParseHandler()
  • Method Details

    • executeParse

      protected void executeParse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, org.flowable.bpmn.model.UserTask userTask)
      Overrides:
      executeParse in class org.flowable.engine.impl.bpmn.parser.handler.UserTaskParseHandler
    • collectNotificationEvents

      protected Set<String> collectNotificationEvents(org.flowable.bpmn.model.UserTask userTask)