|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.archiva.proxy.DefaultRepositoryProxyConnectors
public class DefaultRepositoryProxyConnectors
DefaultRepositoryProxyConnectors
Constructor Summary | |
---|---|
DefaultRepositoryProxyConnectors()
|
Method Summary | |
---|---|
void |
afterConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
|
void |
beforeConfigurationChange(org.codehaus.plexus.registry.Registry registry,
java.lang.String propertyName,
java.lang.Object propertyValue)
|
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 repository,
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)
TODO: Ensure that list is correctly ordered based on configuration. |
boolean |
hasProxies(ManagedRepositoryContent repository)
Test if the provided ManagedRepositoryContent has any proxies configured for it. |
void |
initialize()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRepositoryProxyConnectors()
Method Detail |
---|
public java.io.File fetchFromProxies(ManagedRepositoryContent repository, org.apache.maven.archiva.model.ArtifactReference artifact) throws ProxyDownloadException
RepositoryProxyConnectors
fetchFromProxies
in interface RepositoryProxyConnectors
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.public java.io.File fetchFromProxies(ManagedRepositoryContent repository, java.lang.String path)
RepositoryProxyConnectors
fetchFromProxies
in interface RepositoryProxyConnectors
path
- the path of the resource to fetch
public java.io.File fetchMetatadaFromProxies(ManagedRepositoryContent repository, java.lang.String logicalPath)
RepositoryProxyConnectors
fetchMetatadaFromProxies
in interface RepositoryProxyConnectors
repository
- the source repository to use. (must be a managed repository)
public boolean hasProxies(ManagedRepositoryContent repository)
hasProxies
in interface RepositoryProxyConnectors
repository
- the source repository to look for.
public java.util.List<ProxyConnector> getProxyConnectors(ManagedRepositoryContent repository)
getProxyConnectors
in interface RepositoryProxyConnectors
repository
- the source repository to look for.
ProxyConnector
objects.public void afterConfigurationChange(org.codehaus.plexus.registry.Registry registry, java.lang.String propertyName, java.lang.Object propertyValue)
afterConfigurationChange
in interface org.codehaus.plexus.registry.RegistryListener
public void beforeConfigurationChange(org.codehaus.plexus.registry.Registry registry, java.lang.String propertyName, java.lang.Object propertyValue)
beforeConfigurationChange
in interface org.codehaus.plexus.registry.RegistryListener
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |