diff options
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java | 12 |
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(); |