use of org.eclipse.bpmn2.ExclusiveGateway in project kie-wb-common by kiegroup.
the class Bpmn2JsonMarshaller method marshallExclusiveGateway.
protected void marshallExclusiveGateway(ExclusiveGateway gateway, BPMNPlane plane, JsonGenerator generator, float xOffset, float yOffset, Map<String, Object> flowElementProperties) throws JsonGenerationException, IOException {
if (gateway.getDefault() != null) {
SequenceFlow defsf = gateway.getDefault();
String defGatewayStr = defsf.getId();
flowElementProperties.put("defaultgate", defGatewayStr);
}
marshallNode(gateway, flowElementProperties, "Exclusive_Databased_Gateway", plane, generator, xOffset, yOffset);
}
Aggregations