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

    Modifier and Type
    Method
    Description
    List<org.eclipse.aether.resolution.MetadataResult>
    resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests)
    Resolves the paths for a collection of metadata.
  • Method Details

    • resolveMetadata

      List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.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 be null.
      requests - The resolution requests, must not be null.
      Returns:
      The resolution results (in request order), never null.
      See Also:
      • Metadata.getFile()
      • RepositorySystem.resolveMetadata(RepositorySystemSession, Collection)