Interface BpmnParseHandler


public interface BpmnParseHandler
Allows to hook into the parsing of one or more elements during the parsing of a BPMN 2.0 process. For more details, see the userguide section on bpmn parse handlers. Instances of this class can be injected into the ProcessEngineConfigurationImpl. The handler will then be called whenever a BPMN 2.0 element is parsed that matches the types returned by the getHandledTypes() method.
Author:
Joram Barrez
See Also:
  • AbstractBpmnParseHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<Class<? extends org.flowable.bpmn.model.BaseElement>>
    The types for which this handler must be called during process parsing.
    void
    parse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, org.flowable.bpmn.model.BaseElement element)
    The actual delegation method.
  • Method Details

    • getHandledTypes

      Collection<Class<? extends org.flowable.bpmn.model.BaseElement>> getHandledTypes()
      The types for which this handler must be called during process parsing.
    • parse

      void parse(org.flowable.engine.impl.bpmn.parser.BpmnParse bpmnParse, org.flowable.bpmn.model.BaseElement element)
      The actual delegation method. The parser will calls this method on a match with the getHandledTypes() return value.
      Parameters:
      bpmnParse - The BpmnParse instance that acts as container for all things produced during the parsing.