diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-28 11:45:29 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-28 11:45:29 +0100 |
commit | 0537460fce472a60f7ea5ba34352fd49f39eb457 (patch) | |
tree | 93074043668a3b32bf01cd3a2ca4be2bc44a409e /plugins | |
parent | 508b52779e7db39fce96c1d063cc9d487abfc9a5 (diff) | |
download | sonarqube-0537460fce472a60f7ea5ba34352fd49f39eb457.tar.gz sonarqube-0537460fce472a60f7ea5ba34352fd49f39eb457.zip |
SONAR-4221 Make it possible for the Views and Developers plugin to define the differential periods 4 and 5
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java index 32f3875774b..e82ad5a9a8a 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/CorePlugin.java @@ -302,7 +302,7 @@ import java.util.List; defaultValue = CoreProperties.TIMEMACHINE_DEFAULT_PERIOD_3, category = CoreProperties.CATEGORY_DIFFERENTIAL_VIEWS), @Property( - key = "sonar.timemachine.period4", + key = "sonar.timemachine.TRK.period4", name = "Period 4", description = "Period used to compare measures and track new violations. This property is specific to the project. Values are : " + "<ul class='bullet'><li>Number of days before analysis, for example 5.</li><li>A custom date. Format is yyyy-MM-dd, " + @@ -313,15 +313,17 @@ import java.util.List; project = true, global = false, defaultValue = CoreProperties.TIMEMACHINE_DEFAULT_PERIOD_4, - category = CoreProperties.CATEGORY_DIFFERENTIAL_VIEWS), + category = CoreProperties.CATEGORY_DIFFERENTIAL_VIEWS, + deprecatedKey = "sonar.timemachine.period4"), @Property( - key = "sonar.timemachine.period5", + key = "sonar.timemachine.TRK.period5", name = "Period 5", description = "See the property 'Period 4'", project = true, global = false, defaultValue = CoreProperties.TIMEMACHINE_DEFAULT_PERIOD_5, - category = CoreProperties.CATEGORY_DIFFERENTIAL_VIEWS), + category = CoreProperties.CATEGORY_DIFFERENTIAL_VIEWS, + deprecatedKey = "sonar.timemachine.period5"), @Property( key = CoreProperties.DRY_RUN, defaultValue = "false", @@ -384,7 +386,13 @@ import java.util.List; defaultValue = "false", project = false, global = false, - type = PropertyType.BOOLEAN) + type = PropertyType.BOOLEAN), + @Property( + key = "sonar.enableFileVariation", + name = "Enable file variation", + global = false, + defaultValue = "false", + category = CoreProperties.CATEGORY_GENERAL), }) public final class CorePlugin extends SonarPlugin { |