Examples of QualityGate


Examples of org.sonar.wsclient.qualitygate.QualityGate

  public DefaultQualityGates(Map<String, Object> json) {
    qualityGates = new LinkedHashMap<Long, QualityGate>();
    JSONArray gatesJson = JsonUtils.getArray(json, "qualitygates");
    if (gatesJson != null) {
      for (Object entry: gatesJson) {
        QualityGate qGate = new DefaultQualityGate((Map<String, String>) entry);
        qualityGates.put(qGate.id(), qGate);
      }
    }
    defaultId = JsonUtils.getLong(json, "default");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.