public interface RepositoryProxyConnectors
| Modifier and Type | Method and Description | 
|---|---|
File | 
fetchFromProxies(ManagedRepositoryContent repository,
                ArtifactReference artifact)
Performs the artifact fetch operation against the target repositories
 of the provided source repository. 
 | 
File | 
fetchFromProxies(ManagedRepositoryContent managedRepository,
                String path)
Performs the fetch operation against the target repositories
 of the provided source repository. 
 | 
ProxyFetchResult | 
fetchMetadataFromProxies(ManagedRepositoryContent repository,
                        String logicalPath)
Performs the metadata fetch operation against the target repositories
 of the provided source repository. 
 | 
List<ProxyConnector> | 
getProxyConnectors(ManagedRepositoryContent repository)
Get the List of  
ProxyConnector objects of the source repository. | 
boolean | 
hasProxies(ManagedRepositoryContent repository)
Tests to see if the provided repository is a source repository for
 any  
ProxyConnector objects. | 
File fetchFromProxies(ManagedRepositoryContent repository, ArtifactReference artifact) throws ProxyDownloadException
repository - the source repository to use. (must be a managed repository)artifact - the artifact to fetch.ProxyDownloadException - if there was a problem fetching the content from the target repositories.ProxyFetchResult fetchMetadataFromProxies(ManagedRepositoryContent repository, String logicalPath)
repository - the source repository to use. (must be a managed repository)logicalPath - the metadata to fetch.File fetchFromProxies(ManagedRepositoryContent managedRepository, String path)
managedRepository - the source repository to use. (must be a managed repository)path - the path of the resource to fetchList<ProxyConnector> getProxyConnectors(ManagedRepositoryContent repository)
ProxyConnector objects of the source repository.repository - the source repository to look for.ProxyConnector objects.boolean hasProxies(ManagedRepositoryContent repository)
ProxyConnector objects.repository - the source repository to look for.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.