aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-dbcleaner-plugin/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-03-15 23:24:56 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-03-15 23:24:56 +0100
commit7ff1099b78e8913dff98649012c662abfc7813e2 (patch)
tree1ecaf448c861fac825bbfa71160a83d50cbd99e0 /plugins/sonar-dbcleaner-plugin/src
parentb029b26d896f72459e447f5603d1b6849fe57ab7 (diff)
downloadsonarqube-7ff1099b78e8913dff98649012c662abfc7813e2.tar.gz
sonarqube-7ff1099b78e8913dff98649012c662abfc7813e2.zip
Fix loading of DefaultPurgeTask
Diffstat (limited to 'plugins/sonar-dbcleaner-plugin/src')
-rw-r--r--plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/period/DefaultPeriodCleaner.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/period/DefaultPeriodCleaner.java b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/period/DefaultPeriodCleaner.java
index d4339204747..eb3519a5611 100644
--- a/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/period/DefaultPeriodCleaner.java
+++ b/plugins/sonar-dbcleaner-plugin/src/main/java/org/sonar/plugins/dbcleaner/period/DefaultPeriodCleaner.java
@@ -24,6 +24,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sonar.api.config.Settings;
import org.sonar.api.resources.Project;
+import org.sonar.api.task.TaskExtension;
import org.sonar.api.utils.DateUtils;
import org.sonar.core.purge.PurgeDao;
import org.sonar.core.purge.PurgeSnapshotQuery;
@@ -31,7 +32,7 @@ import org.sonar.core.purge.PurgeableSnapshotDto;
import java.util.List;
-public class DefaultPeriodCleaner {
+public class DefaultPeriodCleaner implements TaskExtension {
private static final Logger LOG = LoggerFactory.getLogger(DefaultPeriodCleaner.class);
private PurgeDao purgeDao;