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, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
Method Summary
Modifier and TypeMethodDescriptionresolveMetadata
(RepositorySystemSession session, Collection<? extends MetadataRequest> requests) Resolves the paths for a collection of metadata.
-
Constructor Details
-
DefaultMetadataResolver
@Inject public DefaultMetadataResolver(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager)
-
-
Method Details
-
resolveMetadata
public List<MetadataResult> resolveMetadata(RepositorySystemSession session, Collection<? extends 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:
-