aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-01-05 16:44:14 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-01-06 12:41:22 +0100
commit36619d7c9a56bef27d2430b77685e7a4f65abb55 (patch)
tree0c77a8cc220e36b6ec9296ceb4564bc320313c98 /sonar-core
parenta07fbac7ad588c9a8936deee82b2250afb98be1c (diff)
downloadsonarqube-36619d7c9a56bef27d2430b77685e7a4f65abb55.tar.gz
sonarqube-36619d7c9a56bef27d2430b77685e7a4f65abb55.zip
SONAR-7093 Allow projects to define their leak period
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
index 30f06ad2e7c..e785dc2ccff 100644
--- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
+++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java
@@ -237,6 +237,7 @@ public class CorePropertyDefinitions {
.defaultValue(TIMEMACHINE_DEFAULT_PERIOD_1)
.category(CoreProperties.CATEGORY_GENERAL)
.subCategory(CoreProperties.SUBCATEGORY_DIFFERENTIAL_VIEWS)
+ .onQualifiers(Qualifiers.PROJECT, Qualifiers.VIEW)
.build(),
PropertyDefinition.builder(TIMEMACHINE_PERIOD_PREFIX + 2)