summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-12-03 05:46:41 +0000
committerOlivier Lamy <olamy@apache.org>2013-12-03 05:46:41 +0000
commite61ed9f123360d4f126a0e3ef073c0eaef190079 (patch)
treeaed5cfa5c5973af03f4492ee4fc1b47457f28b0c /archiva-modules/metadata/metadata-repository-api/src
parent05065c4deb5ec7fdf2a779b3e2e719124703d29c (diff)
downloadarchiva-e61ed9f123360d4f126a0e3ef073c0eaef190079.tar.gz
archiva-e61ed9f123360d4f126a0e3ef073c0eaef190079.zip
start to move out maven specific from dav part
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
index b4bd8eae4..31cfe7c83 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryStorage.java
@@ -19,6 +19,7 @@ package org.apache.archiva.metadata.repository.storage;
* under the License.
*/
+import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.archiva.metadata.model.ArtifactMetadata;
import org.apache.archiva.metadata.model.ProjectMetadata;
import org.apache.archiva.metadata.model.ProjectVersionMetadata;
@@ -59,4 +60,11 @@ public interface RepositoryStorage
void applyServerSideRelocation( ManagedRepositoryContent managedRepository, ArtifactReference artifact )
throws ProxyDownloadException;
+
+ /**
+ * @param requestPath the web uri request
+ * @return the file path
+ * @since 2.0.0
+ */
+ String getFilePath( String requestPath, ManagedRepository managedRepository );
}