@Component(role=WagonManager.class) public class DefaultWagonManager extends Object implements WagonManager
Constructor and Description |
---|
DefaultWagonManager() |
Modifier and Type | Method and Description |
---|---|
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) |
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
getArtifact
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
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
getArtifact
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
public void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
getArtifactMetadata
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
public void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
getArtifactMetadataFromDeploymentRepository
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
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
getRemoteFile
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
public void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository, org.apache.maven.wagon.events.TransferListener downloadMonitor) throws org.apache.maven.wagon.TransferFailedException
putArtifact
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
public void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException
putArtifactMetadata
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
public void putRemoteFile(ArtifactRepository repository, File source, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor) throws org.apache.maven.wagon.TransferFailedException
putRemoteFile
in interface WagonManager
org.apache.maven.wagon.TransferFailedException
@Deprecated public org.apache.maven.wagon.Wagon getWagon(org.apache.maven.wagon.repository.Repository repository) throws org.apache.maven.wagon.UnsupportedProtocolException
getWagon
in interface WagonManager
org.apache.maven.wagon.UnsupportedProtocolException
@Deprecated public org.apache.maven.wagon.Wagon getWagon(String protocol) throws org.apache.maven.wagon.UnsupportedProtocolException
getWagon
in interface WagonManager
org.apache.maven.wagon.UnsupportedProtocolException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.