use of org.activiti.bpmn.model.SignalEventDefinition in project Activiti by Activiti.
the class FeedbackStepDefinitionConverter method createSignalThrow.
protected ThrowEvent createSignalThrow(WorkflowDefinitionConversion conversion, Signal signal) {
ThrowEvent signalThrowEvent = new ThrowEvent();
signalThrowEvent.setId(conversion.getUniqueNumberedId(ConversionConstants.EVENT_ID_PREFIX));
SignalEventDefinition signalThrowEventDefinition = new SignalEventDefinition();
signalThrowEventDefinition.setSignalRef(signal.getId());
signalThrowEvent.addEventDefinition(signalThrowEventDefinition);
addFlowElement(conversion, signalThrowEvent);
return signalThrowEvent;
}
Aggregations