diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-03-15 23:24:56 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-03-15 23:24:56 +0100 |
commit | 7ff1099b78e8913dff98649012c662abfc7813e2 (patch) | |
tree | 1ecaf448c861fac825bbfa71160a83d50cbd99e0 /plugins/sonar-dbcleaner-plugin/src | |
parent | b029b26d896f72459e447f5603d1b6849fe57ab7 (diff) | |
download | sonarqube-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.java | 3 |
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; |