@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,
TransferListener downloadMonitor,
boolean force) |
void |
getArtifact(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
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,
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) |
public void getArtifact(Artifact artifact, ArtifactRepository repository, TransferListener downloadMonitor, boolean force) throws TransferFailedException, ResourceDoesNotExistException
getArtifact
in interface WagonManager
TransferFailedException
ResourceDoesNotExistException
public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories, TransferListener downloadMonitor, boolean force) throws TransferFailedException, ResourceDoesNotExistException
getArtifact
in interface WagonManager
TransferFailedException
ResourceDoesNotExistException
public void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws TransferFailedException, ResourceDoesNotExistException
getArtifactMetadata
in interface WagonManager
TransferFailedException
ResourceDoesNotExistException
public void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws TransferFailedException, ResourceDoesNotExistException
getArtifactMetadataFromDeploymentRepository
in interface WagonManager
TransferFailedException
ResourceDoesNotExistException
public void getRemoteFile(ArtifactRepository repository, File destination, String remotePath, TransferListener downloadMonitor, String checksumPolicy, boolean force) throws TransferFailedException, ResourceDoesNotExistException
getRemoteFile
in interface WagonManager
TransferFailedException
ResourceDoesNotExistException
public void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository, TransferListener downloadMonitor) throws TransferFailedException
putArtifact
in interface WagonManager
TransferFailedException
public void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) throws TransferFailedException
putArtifactMetadata
in interface WagonManager
TransferFailedException
public void putRemoteFile(ArtifactRepository repository, File source, String remotePath, TransferListener downloadMonitor) throws TransferFailedException
putRemoteFile
in interface WagonManager
TransferFailedException
@Deprecated public Wagon getWagon(Repository repository) throws UnsupportedProtocolException
getWagon
in interface WagonManager
UnsupportedProtocolException
@Deprecated public Wagon getWagon(String protocol) throws UnsupportedProtocolException
getWagon
in interface WagonManager
UnsupportedProtocolException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.