aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-04-28 11:30:13 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-04-28 14:14:55 +0200
commite3a6ba3fd6a43896a718ead80a081540d0b24841 (patch)
treec3b47a725b2c0ade478ab800881d18bd0de8502a /sonar-plugin-api/src
parentadab7517ae4c4cfa293b5720b66fd7b5ec4e026b (diff)
downloadsonarqube-e3a6ba3fd6a43896a718ead80a081540d0b24841.tar.gz
sonarqube-e3a6ba3fd6a43896a718ead80a081540d0b24841.zip
SONAR-4927 Merge new QG widget with old one, update layout
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
index f1c7f33a454..cfdecedd856 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java
@@ -2201,11 +2201,17 @@ public final class CoreMetrics {
.setDomain(DOMAIN_GENERAL)
.create();
+ /**
+ * @since 4.4
+ */
public static final String QUALITY_GATE_DETAILS_KEY = "quality_gate_details";
- public static final Metric QUALITY_GATE_DETAILS = new Metric.Builder(QUALITY_GATE_DETAILS_KEY, "Quality Gate Details", Metric.ValueType.LEVEL)
+ /**
+ * The project detailed status with regard to its quality gate.
+ * Storing the global quality gate status, along with all evaluated conditions, into a JSON object.
+ * @since 4.4
+ */
+ public static final Metric QUALITY_GATE_DETAILS = new Metric.Builder(QUALITY_GATE_DETAILS_KEY, "Quality Gate Details", Metric.ValueType.DATA)
.setDescription("The project detailed status with regard to its quality gate.")
- .setDirection(Metric.DIRECTION_BETTER)
- .setQualitative(true)
.setDomain(DOMAIN_GENERAL)
.create();