diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-06-11 16:13:53 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-06-11 16:13:53 +0200 |
commit | e38eebeaddda7917ea3e72045c8ea3a8361d8e17 (patch) | |
tree | 23ae24ad3995e3a0cbfff1201d80a1aacc20ff0b /archiva-modules/metadata | |
parent | 46fd585f40f0264b8889154e1924eb8df991b0f3 (diff) | |
download | archiva-e38eebeaddda7917ea3e72045c8ea3a8361d8e17.tar.gz archiva-e38eebeaddda7917ea3e72045c8ea3a8361d8e17.zip |
Moving request info to new API
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java index 50071593a..6b135fda2 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/RepositoryPathTranslator.java @@ -20,6 +20,8 @@ package org.apache.archiva.metadata.repository.storage; */ import org.apache.archiva.metadata.model.ArtifactMetadata; +import org.apache.archiva.repository.LayoutException; +import org.apache.archiva.repository.content.ItemSelector; import org.apache.archiva.repository.storage.StorageAsset; import java.nio.file.Path; @@ -40,6 +42,7 @@ public interface RepositoryPathTranslator StorageAsset toFile( StorageAsset basedir, String namespace, String projectId, String projectVersion ); + ArtifactMetadata getArtifactForPath( String repoId, String relativePath ); ArtifactMetadata getArtifactFromId( String repoId, String namespace, String projectId, String projectVersion, |