Class DefaultMetadataResolver

java.lang.Object
org.eclipse.aether.internal.impl.DefaultMetadataResolver
All Implemented Interfaces:
MetadataResolver

@Singleton @Named public class DefaultMetadataResolver extends Object implements MetadataResolver
  • Field Details

  • Constructor Details

  • Method Details

    • resolveMetadata

      public List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests)
      Description copied from interface: MetadataResolver
      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.
      Specified by:
      resolveMetadata in interface MetadataResolver
      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)