Package org.eclipse.aether.internal.impl
Class DefaultMetadataResolver
java.lang.Object
org.eclipse.aether.internal.impl.DefaultMetadataResolver
- All Implemented Interfaces:
MetadataResolver
-
Constructor Summary
ConstructorDescriptionDefaultMetadataResolver
(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
Method Summary
Modifier and TypeMethodDescriptionList<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.
-
Constructor Details
-
DefaultMetadataResolver
@Inject public DefaultMetadataResolver(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager)
-
-
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 interfaceMetadataResolver
- 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)
-