public interface MetadataResolver
default List<RepositoryType> supportsRepositoryTypes()
ProjectVersionMetadata resolveProjectVersion(RepositorySession session, String repoId, String namespace, String projectId, String projectVersion) throws MetadataResolutionException
MetadataResolutionException
Collection<ProjectVersionReference> resolveProjectReferences(RepositorySession session, String repoId, String namespace, String projectId, String projectVersion) throws MetadataResolutionException
repoId
- the repository ID to look withinnamespace
- the namespace of the project to get references toprojectId
- the identifier of the project to get references toprojectVersion
- the version of the project to get references toMetadataResolutionException
Collection<String> resolveRootNamespaces(RepositorySession session, String repoId) throws MetadataResolutionException
MetadataResolutionException
Collection<String> resolveNamespaces(RepositorySession session, String repoId, String namespace) throws MetadataResolutionException
MetadataResolutionException
Collection<String> resolveProjects(RepositorySession session, String repoId, String namespace) throws MetadataResolutionException
MetadataResolutionException
Collection<String> resolveProjectVersions(RepositorySession session, String repoId, String namespace, String projectId) throws MetadataResolutionException
MetadataResolutionException
Collection<ArtifactMetadata> resolveArtifacts(RepositorySession session, String repoId, String namespace, String projectId, String projectVersion) throws MetadataResolutionException
MetadataResolutionException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.