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
      java.util.List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata​(org.eclipse.aether.RepositorySystemSession session, java.util.Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests)
      Resolves the paths for a collection of metadata.
    • Method Detail

      • resolveMetadata

        java.util.List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata​(org.eclipse.aether.RepositorySystemSession session,
                                                                                     java.util.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)