aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 16:05:56 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-05-28 16:05:56 +0200
commitd1936d76889aa23637f3a9e1821a557b6401d8c1 (patch)
treeca227315aae3369321436968f406c6cbaad2ecb7 /sonar-plugin-api/src
parent23020e44e40f274e200b68351e6ba203f3821410 (diff)
downloadsonarqube-d1936d76889aa23637f3a9e1821a557b6401d8c1.tar.gz
sonarqube-d1936d76889aa23637f3a9e1821a557b6401d8c1.zip
SONAR-4291 flag metrics as hidden
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java6
1 files changed, 6 insertions, 0 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 9d2045ef3fb..bde1399db41 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
@@ -1918,6 +1918,7 @@ public final class CoreMetrics {
.setDomain(DOMAIN_REVIEWS)
.setBestValue(0.0)
.setOptimizedBestValue(true)
+ .setHidden(true)
.create();
/**
@@ -1940,6 +1941,7 @@ public final class CoreMetrics {
.setBestValue(0.0)
.setOptimizedBestValue(true)
.setDeleteHistoricalData(true)
+ .setHidden(true)
.create();
/**
@@ -1960,6 +1962,7 @@ public final class CoreMetrics {
.setDomain(DOMAIN_REVIEWS)
.setBestValue(0.0)
.setOptimizedBestValue(true)
+ .setHidden(true)
.create();
/**
@@ -1980,6 +1983,7 @@ public final class CoreMetrics {
.setDomain(DOMAIN_REVIEWS)
.setBestValue(0.0)
.setOptimizedBestValue(true)
+ .setHidden(true)
.create();
/**
@@ -2000,6 +2004,7 @@ public final class CoreMetrics {
.setDomain(DOMAIN_REVIEWS)
.setBestValue(0.0)
.setOptimizedBestValue(true)
+ .setHidden(true)
.create();
/**
@@ -2020,6 +2025,7 @@ public final class CoreMetrics {
.setDomain(DOMAIN_REVIEWS)
.setBestValue(0.0)
.setOptimizedBestValue(true)
+ .setHidden(true)
.create();
// --------------------------------------------------------------------------------------------------------------------