org.apache.maven.repository.legacy
Class DefaultWagonManager

java.lang.Object
  extended by org.apache.maven.repository.legacy.DefaultWagonManager
All Implemented Interfaces:
WagonManager
Direct Known Subclasses:
DefaultWagonManager

@Component(role=WagonManager.class)
public class DefaultWagonManager
extends Object
implements WagonManager


Constructor Summary
DefaultWagonManager()
           
 
Method Summary
 void getArtifact(Artifact artifact, ArtifactRepository repository, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force)
           
 void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force)
           
 void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy)
           
 void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy)
           
 void getRemoteFile(ArtifactRepository repository, File destination, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor, String checksumPolicy, boolean force)
           
 org.apache.maven.wagon.Wagon getWagon(org.apache.maven.wagon.repository.Repository repository)
          Deprecated. 
 org.apache.maven.wagon.Wagon getWagon(String protocol)
          Deprecated. 
 void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository, org.apache.maven.wagon.events.TransferListener downloadMonitor)
           
 void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository)
           
 void putRemoteFile(ArtifactRepository repository, File source, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWagonManager

public DefaultWagonManager()
Method Detail

getArtifact

public void getArtifact(Artifact artifact,
                        ArtifactRepository repository,
                        org.apache.maven.wagon.events.TransferListener downloadMonitor,
                        boolean force)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Specified by:
getArtifact in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifact

public void getArtifact(Artifact artifact,
                        List<ArtifactRepository> remoteRepositories,
                        org.apache.maven.wagon.events.TransferListener downloadMonitor,
                        boolean force)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Specified by:
getArtifact in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifactMetadata

public void getArtifactMetadata(ArtifactMetadata metadata,
                                ArtifactRepository repository,
                                File destination,
                                String checksumPolicy)
                         throws org.apache.maven.wagon.TransferFailedException,
                                org.apache.maven.wagon.ResourceDoesNotExistException
Specified by:
getArtifactMetadata in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifactMetadataFromDeploymentRepository

public void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata,
                                                        ArtifactRepository repository,
                                                        File destination,
                                                        String checksumPolicy)
                                                 throws org.apache.maven.wagon.TransferFailedException,
                                                        org.apache.maven.wagon.ResourceDoesNotExistException
Specified by:
getArtifactMetadataFromDeploymentRepository in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getRemoteFile

public void getRemoteFile(ArtifactRepository repository,
                          File destination,
                          String remotePath,
                          org.apache.maven.wagon.events.TransferListener downloadMonitor,
                          String checksumPolicy,
                          boolean force)
                   throws org.apache.maven.wagon.TransferFailedException,
                          org.apache.maven.wagon.ResourceDoesNotExistException
Specified by:
getRemoteFile in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

putArtifact

public void putArtifact(File source,
                        Artifact artifact,
                        ArtifactRepository deploymentRepository,
                        org.apache.maven.wagon.events.TransferListener downloadMonitor)
                 throws org.apache.maven.wagon.TransferFailedException
Specified by:
putArtifact in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException

putArtifactMetadata

public void putArtifactMetadata(File source,
                                ArtifactMetadata artifactMetadata,
                                ArtifactRepository repository)
                         throws org.apache.maven.wagon.TransferFailedException
Specified by:
putArtifactMetadata in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException

putRemoteFile

public void putRemoteFile(ArtifactRepository repository,
                          File source,
                          String remotePath,
                          org.apache.maven.wagon.events.TransferListener downloadMonitor)
                   throws org.apache.maven.wagon.TransferFailedException
Specified by:
putRemoteFile in interface WagonManager
Throws:
org.apache.maven.wagon.TransferFailedException

getWagon

@Deprecated
public org.apache.maven.wagon.Wagon getWagon(org.apache.maven.wagon.repository.Repository repository)
                                      throws org.apache.maven.wagon.UnsupportedProtocolException
Deprecated. 

Specified by:
getWagon in interface WagonManager
Throws:
org.apache.maven.wagon.UnsupportedProtocolException

getWagon

@Deprecated
public org.apache.maven.wagon.Wagon getWagon(String protocol)
                                      throws org.apache.maven.wagon.UnsupportedProtocolException
Deprecated. 

Specified by:
getWagon in interface WagonManager
Throws:
org.apache.maven.wagon.UnsupportedProtocolException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.