|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryProxyConnectors
Handler for potential repository proxy connectors.
Method Summary | |
---|---|
java.io.File |
fetchFromProxies(ManagedRepositoryContent repository,
org.apache.maven.archiva.model.ArtifactReference artifact)
Performs the artifact fetch operation against the target repositories of the provided source repository. |
java.io.File |
fetchFromProxies(ManagedRepositoryContent managedRepository,
java.lang.String path)
Performs the fetch operation against the target repositories of the provided source repository. |
java.io.File |
fetchMetatadaFromProxies(ManagedRepositoryContent repository,
java.lang.String logicalPath)
Performs the metadata fetch operation against the target repositories of the provided source repository. |
java.util.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. |
Method Detail |
---|
java.io.File fetchFromProxies(ManagedRepositoryContent repository, org.apache.maven.archiva.model.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.java.io.File fetchMetatadaFromProxies(ManagedRepositoryContent repository, java.lang.String logicalPath)
repository
- the source repository to use. (must be a managed repository)metadata
- the metadata to fetch.
java.io.File fetchFromProxies(ManagedRepositoryContent managedRepository, java.lang.String path)
repository
- the source repository to use. (must be a managed repository)path
- the path of the resource to fetch
java.util.List<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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |