summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api/src/main
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2010-03-10 16:15:21 +0000
committerBrett Porter <brett@apache.org>2010-03-10 16:15:21 +0000
commitd6c33feff12568218e694f0bf9a421fa19cb1914 (patch)
tree39f539d898f3d4de0b7fc0e789823298d47740c1 /archiva-modules/metadata/metadata-repository-api/src/main
parent17348a45ce949d306c4ebf32b7005d920813fded (diff)
downloadarchiva-d6c33feff12568218e694f0bf9a421fa19cb1914.tar.gz
archiva-d6c33feff12568218e694f0bf9a421fa19cb1914.zip
[MRM-1282] remove use of repository layer in favour of storage API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 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/storage/StorageMetadataResolver.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/StorageMetadataResolver.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/StorageMetadataResolver.java
index 236b97bb3..771bd4266 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/StorageMetadataResolver.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/storage/StorageMetadataResolver.java
@@ -19,12 +19,12 @@ package org.apache.archiva.metadata.repository.storage;
* under the License.
*/
-import java.util.Collection;
-
import org.apache.archiva.metadata.model.ArtifactMetadata;
import org.apache.archiva.metadata.repository.MetadataResolver;
import org.apache.archiva.metadata.repository.filter.Filter;
+import java.util.Collection;
+
public interface StorageMetadataResolver
extends MetadataResolver
{
@@ -38,4 +38,7 @@ public interface StorageMetadataResolver
Collection<ArtifactMetadata> getArtifacts( String repoId, String namespace, String projectId, String projectVersion,
Filter<String> filter );
+
+ // TODO: reconsider this API, do we want to expose storage format in the form of a path?
+ ArtifactMetadata getArtifactForPath( String repoId, String path );
}