use of org.eclipse.bpmn2.EndEvent in project kie-wb-common by kiegroup.
the class EndEventConverter method signalEvent.
private PropertyWriter signalEvent(Node<View<EndSignalEvent>, ?> n) {
EndEvent event = bpmn2.createEndEvent();
event.setId(n.getUUID());
EndSignalEvent definition = n.getContent().getDefinition();
ThrowEventPropertyWriter p = propertyWriterFactory.of(event);
BPMNGeneralSet general = definition.getGeneral();
p.setName(general.getName().getValue());
p.setDocumentation(general.getDocumentation().getValue());
p.setAssignmentsInfo(definition.getDataIOSet().getAssignmentsinfo());
p.addSignal(definition.getExecutionSet().getSignalRef());
p.setBounds(n.getContent().getBounds());
return p;
}
Aggregations