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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MetadataResult>
resolveMetadata(RepositorySystemSession session, java.util.Collection<? extends MetadataRequest> requests)
Resolves the paths for a collection of metadata.
-
-
-
Method Detail
-
resolveMetadata
java.util.List<MetadataResult> resolveMetadata(RepositorySystemSession session, java.util.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)
-
-