org.apache.maven.repository.legacy
Interface WagonManager

All Known Subinterfaces:
WagonManager
All Known Implementing Classes:
DefaultWagonManager, DefaultWagonManager

public interface WagonManager


Method Summary
 void getArtifact(Artifact artifact, ArtifactRepository repository, org.apache.maven.wagon.events.TransferListener transferListener, boolean force)
           
 void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories, org.apache.maven.wagon.events.TransferListener transferListener, boolean force)
           
 void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository remoteRepository, File destination, String checksumPolicy)
           
 void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository remoteRepository, File file, String checksumPolicyWarn)
           
 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)
           
 

Method Detail

getWagon

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

Throws:
org.apache.maven.wagon.UnsupportedProtocolException

getWagon

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

Throws:
org.apache.maven.wagon.UnsupportedProtocolException
WagonConfigurationException

getArtifact

void getArtifact(Artifact artifact,
                 ArtifactRepository repository,
                 org.apache.maven.wagon.events.TransferListener transferListener,
                 boolean force)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifact

void getArtifact(Artifact artifact,
                 List<ArtifactRepository> remoteRepositories,
                 org.apache.maven.wagon.events.TransferListener transferListener,
                 boolean force)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getRemoteFile

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
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifactMetadata

void getArtifactMetadata(ArtifactMetadata metadata,
                         ArtifactRepository remoteRepository,
                         File destination,
                         String checksumPolicy)
                         throws org.apache.maven.wagon.TransferFailedException,
                                org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifactMetadataFromDeploymentRepository

void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata,
                                                 ArtifactRepository remoteRepository,
                                                 File file,
                                                 String checksumPolicyWarn)
                                                 throws org.apache.maven.wagon.TransferFailedException,
                                                        org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

putArtifact

void putArtifact(File source,
                 Artifact artifact,
                 ArtifactRepository deploymentRepository,
                 org.apache.maven.wagon.events.TransferListener downloadMonitor)
                 throws org.apache.maven.wagon.TransferFailedException
Throws:
org.apache.maven.wagon.TransferFailedException

putRemoteFile

void putRemoteFile(ArtifactRepository repository,
                   File source,
                   String remotePath,
                   org.apache.maven.wagon.events.TransferListener downloadMonitor)
                   throws org.apache.maven.wagon.TransferFailedException
Throws:
org.apache.maven.wagon.TransferFailedException

putArtifactMetadata

void putArtifactMetadata(File source,
                         ArtifactMetadata artifactMetadata,
                         ArtifactRepository repository)
                         throws org.apache.maven.wagon.TransferFailedException
Throws:
org.apache.maven.wagon.TransferFailedException


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