org.apache.continuum.purge.executor
Class RetentionCountRepositoryPurgeExecutor

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

public class RetentionCountRepositoryPurgeExecutor
extends AbstractContinuumPurgeExecutor
implements ContinuumPurgeExecutor

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

Author:
Maria Catherine Tan

Field Summary
 
Fields inherited from interface org.apache.continuum.purge.executor.ContinuumPurgeExecutor
ROLE
 
Constructor Summary
RetentionCountRepositoryPurgeExecutor(RepositoryManagedContent repository, 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

RetentionCountRepositoryPurgeExecutor

public RetentionCountRepositoryPurgeExecutor(RepositoryManagedContent repository,
                                             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.