public ConditionalEventDefinition parseConditionalStartEventForEventSubprocess ( Element element , ActivityImpl conditionalActivity , boolean interrupting ) { conditionalActivity . getProperties ( ) . set ( BpmnProperties . TYPE , ActivityTypes . START_EVENT_CONDITIONAL ) ; ConditionalEventDefinition conditionalEventDefinition = parseConditionalEventDefinition ( element , conditionalActivity ) ; conditionalEventDefinition . setInterrupting ( interrupting ) ; addEventSubscriptionDeclaration ( conditionalEventDefinition , conditionalActivity . getEventScope ( ) , element ) ; for ( BpmnParseListener parseListener : parseListeners ) { parseListener . parseConditionalStartEventForEventSubprocess ( element , conditionalActivity , interrupting ) ; } return conditionalEventDefinition ; }
Parses the given element as conditional start event of an event subprocess .