aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-06-26 17:24:52 +0000
committerOlivier Lamy <olamy@apache.org>2012-06-26 17:24:52 +0000
commit9c6b8dba0022ee1e11c6d33db4303bd3d38036de (patch)
treeb74436ec6d4973d5ab91d50ebea022bce63f6b75 /archiva-modules/metadata
parent035a4704d59ca76443b18865dc6ccb52e98b045f (diff)
downloadarchiva-9c6b8dba0022ee1e11c6d33db4303bd3d38036de.tar.gz
archiva-9c6b8dba0022ee1e11c6d33db4303bd3d38036de.zip
add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
index 1d3b88ebf..9b3375496 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java
@@ -79,6 +79,13 @@ public interface MetadataRepository
void removeArtifact( String repositoryId, String namespace, String project, String version, String id )
throws MetadataRepositoryException;
+ /**
+ * used for deleting timestamped version of SNAPSHOT artifacts
+ * @param artifactMetadata the artifactMetadata with the timestamped version (2.0-20120618.214135-2)
+ * @param baseVersion the base version of the snapshot (2.0-SNAPSHOT)
+ * @throws MetadataRepositoryException
+ * @since 1.4-M3
+ */
void removeArtifact( ArtifactMetadata artifactMetadata, String baseVersion )
throws MetadataRepositoryException;