]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4366 Replace name and description of Quality Gate metric in CoreMetrics
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 11 Apr 2014 09:19:09 +0000 (11:19 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 11 Apr 2014 09:19:09 +0000 (11:19 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index d39add1e0408c7ffc51cb4a3eabb56c26fb53284..b06dd3ad8c6eb8692020bdd2bf5ee653f1cb5559 100644 (file)
@@ -2194,8 +2194,8 @@ public final class CoreMetrics {
   // --------------------------------------------------------------------------------------------------------------------
 
   public static final String ALERT_STATUS_KEY = "alert_status";
-  public static final Metric ALERT_STATUS = new Metric.Builder(ALERT_STATUS_KEY, "Alert", Metric.ValueType.LEVEL)
-    .setDescription("Alert")
+  public static final Metric ALERT_STATUS = new Metric.Builder(ALERT_STATUS_KEY, "Quality Gate Status", Metric.ValueType.LEVEL)
+    .setDescription("The project status with regard to its quality gate.")
     .setDirection(Metric.DIRECTION_BETTER)
     .setQualitative(true)
     .setDomain(DOMAIN_GENERAL)