Package org.flowable.engine.parse
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 theProcessEngineConfigurationImpl
. The handler will then be called whenever a BPMN 2.0 element is parsed that matches the types returned by thegetHandledTypes()
method.- Author:
- Joram Barrez
- See Also:
AbstractBpmnParseHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Class<? extends org.flowable.bpmn.model.BaseElement>>
getHandledTypes()
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 Detail
-
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 thegetHandledTypes()
return value.- Parameters:
bpmnParse
- TheBpmnParse
instance that acts as container for all things produced during the parsing.
-
-