aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-13 16:28:19 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-13 16:28:19 +0100
commitd5d8c68bf71a77e889fa412462b980a5b712c7a4 (patch)
tree98d7e5780fe690a8520bd505bafeb3beb11fd2e1 /plugins/sonar-dbcleaner-plugin
parent210d9fc09243fd96a3adb20f06ddda18a844bb49 (diff)
downloadsonarqube-d5d8c68bf71a77e889fa412462b980a5b712c7a4.tar.gz
sonarqube-d5d8c68bf71a77e889fa412462b980a5b712c7a4.zip
SONAR-3263
Diffstat (limited to 'plugins/sonar-dbcleaner-plugin')
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java8
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/api/PurgeUtils.java2
2 files changed, 2 insertions, 8 deletions
diff --git a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java
index 0155f2c3187..dfaa65a146c 100644
--- a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java
+++ b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/DbCleanerPlugin.java
@@ -39,13 +39,7 @@ import java.util.List;
+ "the DbCleaner keeps the first one and fully delete the other ones.", global = true, project = true),
@Property(key = DbCleanerConstants.WEEKS_BEFORE_DELETING_ALL_SNAPSHOTS, defaultValue = "260",
name = "Number of weeks before starting to delete all remaining snapshots",
- description = "After this number of weeks, all snapshots are fully deleted.", global = true, project = true),
- @Property(key = "sonar.purge.minimumPeriodInHours", defaultValue = "12",
- name = "Maximum duration of code inspections, in hours",
- description = "Sonar has an embedded purge mechanism which is fairly powerful to avoid keeping useless data. This mechanism is using a minimum period during which a " +
- "resource created should not be suppressed whatever its state. This is set by default to 12 hours and should not be changed. The only situation you could want to change " +
- "this is in case a projects takes more than 12 hours to be analyzed by Sonar.",
- global = true, project = false)
+ description = "After this number of weeks, all snapshots are fully deleted.", global = true, project = true)
}
)
public final class DbCleanerPlugin extends SonarPlugin {
diff --git a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/api/PurgeUtils.java b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/api/PurgeUtils.java
index 1d9a9fe4bfa..e84b513e27d 100644
--- a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/api/PurgeUtils.java
+++ b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/api/PurgeUtils.java
@@ -32,7 +32,7 @@ import java.util.List;
/**
* @since 2.5
- * @deprecated in 2.14
+ * @deprecated Useless since version 2.14 because of the refactoring of the cleanup mechanism (see SONAR-2757).
*/
@Deprecated
public final class PurgeUtils {