@Named public class DefaultMetadataResolver extends Object implements MetadataResolver, org.eclipse.aether.spi.locator.Service
Constructor and Description |
---|
DefaultMetadataResolver() |
Modifier and Type | Method and Description |
---|---|
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
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.
|
DefaultMetadataResolver |
setOfflineController(OfflineController offlineController) |
DefaultMetadataResolver |
setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager) |
DefaultMetadataResolver |
setRepositoryConnectorProvider(RepositoryConnectorProvider repositoryConnectorProvider) |
DefaultMetadataResolver |
setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) |
DefaultMetadataResolver |
setSyncContextFactory(SyncContextFactory syncContextFactory) |
DefaultMetadataResolver |
setUpdateCheckManager(UpdateCheckManager updateCheckManager) |
public DefaultMetadataResolver()
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService
in interface org.eclipse.aether.spi.locator.Service
public DefaultMetadataResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public DefaultMetadataResolver setUpdateCheckManager(UpdateCheckManager updateCheckManager)
public DefaultMetadataResolver setRepositoryConnectorProvider(RepositoryConnectorProvider repositoryConnectorProvider)
public DefaultMetadataResolver setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
public DefaultMetadataResolver setSyncContextFactory(SyncContextFactory syncContextFactory)
public DefaultMetadataResolver setOfflineController(OfflineController offlineController)
public List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests)
MetadataResolver
resolveMetadata
in interface MetadataResolver
session
- The repository session, must not be null
.requests
- The resolution requests, must not be null
.null
.Metadata.getFile()
,
RepositorySystem.resolveMetadata(RepositorySystemSession, Collection)
Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.