Package org.eclipse.aether.impl
Interface MetadataResolver
-
- All Known Implementing Classes:
DefaultMetadataResolver
public interface MetadataResolver
Resolves metadata, that is gets a local filesystem path to their binary contents.- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
- Provisional:
- This type is provisional and can be changed, moved or removed without prior notice.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MetadataResult>
resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
-
-
-
Method Detail
-
resolveMetadata
List<MetadataResult> resolveMetadata(RepositorySystemSession session, Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata. Metadata will be downloaded to the local repository if necessary, e.g. because it hasn't been cached yet or the cache is deemed outdated.- Parameters:
session
- The repository session, must not benull
.requests
- The resolution requests, must not benull
.- Returns:
- The resolution results (in request order), never
null
. - See Also:
Metadata.getFile()
,RepositorySystem.resolveMetadata(RepositorySystemSession, Collection)
-
-