public interface MetadataResolver
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactMetadata> |
resolveArtifacts(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<String> |
resolveNamespaces(RepositorySession session,
String repoId,
String namespace) |
Collection<ProjectVersionReference> |
resolveProjectReferences(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion)
Retrieve project references from the metadata repository.
|
Collection<String> |
resolveProjects(RepositorySession session,
String repoId,
String namespace) |
ProjectVersionMetadata |
resolveProjectVersion(RepositorySession session,
String repoId,
String namespace,
String projectId,
String projectVersion) |
Collection<String> |
resolveProjectVersions(RepositorySession session,
String repoId,
String namespace,
String projectId) |
Collection<String> |
resolveRootNamespaces(RepositorySession session,
String repoId) |
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–2022 The Apache Software Foundation. All rights reserved.