EndEvent endEvent = (EndEvent) flowElement;
addEventProperties(endEvent, propertiesNode);
}
protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
EndEvent endEvent = Bpmn2Factory.eINSTANCE.createEndEvent();// EndEvent();
String stencilId = BpmnJsonConverterUtil.getStencilId(elementNode);
if (STENCIL_EVENT_END_ERROR.equals(stencilId)) {
convertJsonToErrorDefinition(elementNode, endEvent);
}
return endEvent;