org.apache.continuum.purge.executor
Class AbstractContinuumPurgeExecutor
java.lang.Object
org.apache.continuum.purge.executor.AbstractContinuumPurgeExecutor
- All Implemented Interfaces:
- ContinuumPurgeExecutor
- Direct Known Subclasses:
- CleanAllPurgeExecutor, DaysOldDirectoryPurgeExecutor, DaysOldRepositoryPurgeExecutor, ReleasedSnapshotsRepositoryPurgeExecutor, RetentionCountDirectoryPurgeExecutor, RetentionCountRepositoryPurgeExecutor
public abstract class AbstractContinuumPurgeExecutor
- extends Object
- implements ContinuumPurgeExecutor
Some codes were taken from Archiva.
- Author:
- Maria Catherine Tan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContinuumPurgeExecutor
public AbstractContinuumPurgeExecutor()
purge
public void purge(Set<org.apache.maven.archiva.model.ArtifactReference> references,
RepositoryManagedContent repository)
purgeSupportFiles
protected void purgeSupportFiles(File artifactFile,
String filename)
This find support files for the artifactFile and deletes them.
Support Files are things like ".sha1", ".md5", ".asc", etc.
- Parameters:
artifactFile
- the file to base off of.
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.