summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api/src/main
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2010-01-19 07:29:54 +0000
committerBrett Porter <brett@apache.org>2010-01-19 07:29:54 +0000
commit0e588344064c6ea4248950f563c4e3797b1f45e2 (patch)
treeff9fd71896c625a5724d7a18635dbac74fd03d6a /archiva-modules/metadata/metadata-repository-api/src/main
parent640d3436f6e4413b669cc40764a340cddba482a4 (diff)
downloadarchiva-0e588344064c6ea4248950f563c4e3797b1f45e2.tar.gz
archiva-0e588344064c6ea4248950f563c4e3797b1f45e2.zip
[MRM-1282] ensure repository metadata is deleted when repository is
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900685 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src/main')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/MetadataRepository.java4
1 files changed, 4 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 aa5882007..437972390 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
@@ -69,5 +69,9 @@ public interface MetadataRepository
void deleteArtifact( String repositoryId, String namespace, String project, String version, String id );
+ /**
+ * Delete a repository's metadata. This includes all associated metadata facets.
+ * @param repoId the repository to delete
+ */
void deleteRepository( String repoId );
}