org.apache.continuum.purge.executor
Class DaysOldRepositoryPurgeExecutor

java.lang.Object
  extended by org.apache.continuum.purge.executor.AbstractContinuumPurgeExecutor
      extended by org.apache.continuum.purge.executor.DaysOldRepositoryPurgeExecutor
All Implemented Interfaces:
ContinuumPurgeExecutor

public class DaysOldRepositoryPurgeExecutor
extends AbstractContinuumPurgeExecutor
implements ContinuumPurgeExecutor

Codes were taken from Archiva's DaysOldRepositoryPurge and made some few changes.

Author:
Maria Catherine Tan

Field Summary
 
Fields inherited from interface org.apache.continuum.purge.executor.ContinuumPurgeExecutor
ROLE
 
Constructor Summary
DaysOldRepositoryPurgeExecutor(RepositoryManagedContent repository, int daysOlder, int retentionCount)
           
 
Method Summary
 void purge(String path)
           
 
Methods inherited from class org.apache.continuum.purge.executor.AbstractContinuumPurgeExecutor
purge, purgeSupportFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaysOldRepositoryPurgeExecutor

public DaysOldRepositoryPurgeExecutor(RepositoryManagedContent repository,
                                      int daysOlder,
                                      int retentionCount)
Method Detail

purge

public void purge(String path)
           throws ContinuumPurgeExecutorException
Specified by:
purge in interface ContinuumPurgeExecutor
Throws:
ContinuumPurgeExecutorException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.