|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WagonManager
Manages Wagon related operations in Maven.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
void |
addAuthenticationInfo(String repositoryId,
String username,
String password,
String privateKey,
String passphrase)
|
void |
addConfiguration(String repositoryId,
org.codehaus.plexus.util.xml.Xpp3Dom configuration)
Set the configuration for a repository |
void |
addMirror(String id,
String mirrorOf,
String url)
|
void |
addPermissionInfo(String repositoryId,
String filePermissions,
String directoryPermissions)
|
void |
addProxy(String protocol,
String host,
int port,
String username,
String password,
String nonProxyHosts)
|
void |
getArtifact(Artifact artifact,
ArtifactRepository repository)
|
void |
getArtifact(Artifact artifact,
List remoteRepositories)
|
void |
getArtifactMetadata(ArtifactMetadata metadata,
ArtifactRepository remoteRepository,
File destination,
String checksumPolicy)
|
void |
getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata,
ArtifactRepository remoteRepository,
File file,
String checksumPolicyWarn)
|
org.apache.maven.wagon.authentication.AuthenticationInfo |
getAuthenticationInfo(String id)
|
ArtifactRepository |
getMirrorRepository(ArtifactRepository repository)
|
org.apache.maven.wagon.proxy.ProxyInfo |
getProxy(String protocol)
|
org.apache.maven.wagon.Wagon |
getWagon(org.apache.maven.wagon.repository.Repository repository)
Get a Wagon provider for the provided repository. |
org.apache.maven.wagon.Wagon |
getWagon(String protocol)
Deprecated. prone to errors. use getWagon(Repository) instead. |
boolean |
isOnline()
|
void |
putArtifact(File source,
Artifact artifact,
ArtifactRepository deploymentRepository)
|
void |
putArtifactMetadata(File source,
ArtifactMetadata artifactMetadata,
ArtifactRepository repository)
|
void |
registerWagons(Collection wagons,
org.codehaus.plexus.PlexusContainer extensionContainer)
|
void |
setDefaultRepositoryPermissions(org.apache.maven.wagon.repository.RepositoryPermissions permissions)
|
void |
setDownloadMonitor(org.apache.maven.wagon.events.TransferListener downloadMonitor)
|
void |
setInteractive(boolean interactive)
|
void |
setOnline(boolean online)
|
Field Detail |
---|
static final String ROLE
Method Detail |
---|
org.apache.maven.wagon.Wagon getWagon(String protocol) throws org.apache.maven.wagon.UnsupportedProtocolException
getWagon(Repository)
instead.
protocol
- the protocol the Wagon
will handle
Wagon
instance able to handle the protocol provided
org.apache.maven.wagon.UnsupportedProtocolException
- if there is no provider able to handle the protocolorg.apache.maven.wagon.Wagon getWagon(org.apache.maven.wagon.repository.Repository repository) throws org.apache.maven.wagon.UnsupportedProtocolException, WagonConfigurationException
repository
- the repository
Wagon
instance that can be used to connect to the repository
org.apache.maven.wagon.UnsupportedProtocolException
- if there is no provider able to handle the protocol
WagonConfigurationException
- if the wagon can't be configured for the repositoryvoid getArtifact(Artifact artifact, List remoteRepositories) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
void getArtifact(Artifact artifact, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository) throws org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.TransferFailedException
void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.TransferFailedException
void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository remoteRepository, File destination, String checksumPolicy) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository remoteRepository, File file, String checksumPolicyWarn) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
void setOnline(boolean online)
boolean isOnline()
void addProxy(String protocol, String host, int port, String username, String password, String nonProxyHosts)
void addAuthenticationInfo(String repositoryId, String username, String password, String privateKey, String passphrase)
void addMirror(String id, String mirrorOf, String url)
void setDownloadMonitor(org.apache.maven.wagon.events.TransferListener downloadMonitor)
void addPermissionInfo(String repositoryId, String filePermissions, String directoryPermissions)
org.apache.maven.wagon.proxy.ProxyInfo getProxy(String protocol)
org.apache.maven.wagon.authentication.AuthenticationInfo getAuthenticationInfo(String id)
void addConfiguration(String repositoryId, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
repositoryId
- id of the repository to set the configuration toconfiguration
- dom tree of the xml with the configuration for the Wagon
void setInteractive(boolean interactive)
void registerWagons(Collection wagons, org.codehaus.plexus.PlexusContainer extensionContainer)
void setDefaultRepositoryPermissions(org.apache.maven.wagon.repository.RepositoryPermissions permissions)
ArtifactRepository getMirrorRepository(ArtifactRepository repository)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |