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, TransferListener transferListener, boolean force)
           
 void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories, 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, TransferListener downloadMonitor, String checksumPolicy, boolean force)
           
 Wagon getWagon(Repository repository)
          Deprecated. 
 Wagon getWagon(String protocol)
          Deprecated. 
 void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository, TransferListener downloadMonitor)
           
 void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository)
           
 void putRemoteFile(ArtifactRepository repository, File source, String remotePath, TransferListener downloadMonitor)
           
 

Method Detail

getWagon

@Deprecated
Wagon getWagon(String protocol)
               throws UnsupportedProtocolException
Deprecated. 

Throws:
UnsupportedProtocolException

getWagon

@Deprecated
Wagon getWagon(Repository repository)
               throws UnsupportedProtocolException,
                      WagonConfigurationException
Deprecated. 

Throws:
UnsupportedProtocolException
WagonConfigurationException

getArtifact

void getArtifact(Artifact artifact,
                 ArtifactRepository repository,
                 TransferListener transferListener,
                 boolean force)
                 throws TransferFailedException,
                        ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

getArtifact

void getArtifact(Artifact artifact,
                 List<ArtifactRepository> remoteRepositories,
                 TransferListener transferListener,
                 boolean force)
                 throws TransferFailedException,
                        ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

getRemoteFile

void getRemoteFile(ArtifactRepository repository,
                   File destination,
                   String remotePath,
                   TransferListener downloadMonitor,
                   String checksumPolicy,
                   boolean force)
                   throws TransferFailedException,
                          ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

getArtifactMetadata

void getArtifactMetadata(ArtifactMetadata metadata,
                         ArtifactRepository remoteRepository,
                         File destination,
                         String checksumPolicy)
                         throws TransferFailedException,
                                ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

getArtifactMetadataFromDeploymentRepository

void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata,
                                                 ArtifactRepository remoteRepository,
                                                 File file,
                                                 String checksumPolicyWarn)
                                                 throws TransferFailedException,
                                                        ResourceDoesNotExistException
Throws:
TransferFailedException
ResourceDoesNotExistException

putArtifact

void putArtifact(File source,
                 Artifact artifact,
                 ArtifactRepository deploymentRepository,
                 TransferListener downloadMonitor)
                 throws TransferFailedException
Throws:
TransferFailedException

putRemoteFile

void putRemoteFile(ArtifactRepository repository,
                   File source,
                   String remotePath,
                   TransferListener downloadMonitor)
                   throws TransferFailedException
Throws:
TransferFailedException

putArtifactMetadata

void putArtifactMetadata(File source,
                         ArtifactMetadata artifactMetadata,
                         ArtifactRepository repository)
                         throws TransferFailedException
Throws:
TransferFailedException


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.