Modifier and Type | Method and Description |
---|---|
protected String |
RepositoryModelResolver.addParameters(String path,
RemoteRepository remoteRepository) |
Constructor and Description |
---|
RepositoryModelResolver(ManagedRepository managedRepository,
RepositoryPathTranslator pathTranslator,
WagonFactory wagonFactory,
List<RemoteRepository> remoteRepositories,
Map<String,NetworkProxy> networkProxiesMap,
ManagedRepository targetRepository,
MavenSystemManager mavenSystemManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
DefaultRepositoryProxyHandler.addParameters(String path,
RemoteRepository remoteRepository) |
protected StorageAsset |
DefaultRepositoryProxyHandler.transferFile(ProxyConnector connector,
RemoteRepository remoteRepository,
String remotePath,
ManagedRepository repository,
StorageAsset resource,
Properties requestProperties,
boolean executeConsumers)
Perform the transfer of the file.
|
protected abstract void |
DefaultRepositoryProxyHandler.transferResources(ProxyConnector connector,
RemoteRepository remoteRepository,
StorageAsset tmpResource,
StorageAsset[] checksumFiles,
String url,
String remotePath,
StorageAsset resource,
Path workingDirectory,
ManagedRepository repository) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MavenRepositoryProxyHandler.connectToRepository(ProxyConnector connector,
org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository)
Using wagon, connect to the remote repository.
|
protected void |
MavenRepositoryProxyHandler.transferArtifact(org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository,
String remotePath,
ManagedRepository repository,
Path resource,
Path tmpDirectory,
StorageAsset destFile) |
protected void |
MavenRepositoryProxyHandler.transferChecksum(org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository,
String remotePath,
ManagedRepository repository,
Path resource,
String ext,
Path destFile)
Quietly transfer the checksum file from the remote repository to the local file.
|
protected void |
MavenRepositoryProxyHandler.transferResources(ProxyConnector connector,
RemoteRepository remoteRepository,
StorageAsset tmpResource,
StorageAsset[] checksumFiles,
String url,
String remotePath,
StorageAsset resource,
Path workingDirectory,
ManagedRepository repository) |
protected void |
MavenRepositoryProxyHandler.transferSimpleFile(org.apache.maven.wagon.Wagon wagon,
RemoteRepository remoteRepository,
String remotePath,
ManagedRepository repository,
Path origFile,
Path destFile)
Perform the transfer of the remote file to the local file specified.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ProxyConnector.getTargetRepository() |
Modifier and Type | Method and Description |
---|---|
void |
ProxyConnector.setTargetRepository(RemoteRepository targetRepository)
Sets the target repository.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EditableRemoteRepository
The editable part of a remote repository
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RepositoryRegistry.clone(RemoteRepository repo,
String newId) |
RemoteRepository |
RepositoryProvider.createRemoteInstance(RemoteRepositoryConfiguration configuration)
Creates a new remote repository instance from the given configuration.
|
RemoteRepository |
RepositoryRegistry.getRemoteRepository(String repoId) |
RemoteRepository |
RemoteRepositoryContent.getRepository()
Get the repository configuration associated with this
repository content.
|
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository,
Configuration configuration) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
Collection<RemoteRepository> |
RepositoryRegistry.getRemoteRepositories() |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RepositoryRegistry.clone(RemoteRepository repo,
String newId) |
RemoteRepositoryContent |
RepositoryContentProvider.createRemoteContent(RemoteRepository repository)
Creates a new instance of RemoteRepositoryContent.
|
RemoteRepositoryConfiguration |
RepositoryProvider.getRemoteConfiguration(RemoteRepository remoteRepository)
Returns a configuration object from the given remote repository instance.
|
RemoteRepositoryContent |
RepositoryContentFactory.getRemoteRepositoryContent(RemoteRepository mRepo) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository,
Configuration configuration) |
void |
RepositoryRegistry.removeRepository(RemoteRepository remoteRepository) |
void |
RepositoryRegistry.removeRepository(RemoteRepository remoteRepository,
Configuration configuration) |
void |
RemoteRepositoryContent.setRepository(RemoteRepository repo)
Set the repository configuration to associate with this
repository content.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRemoteRepository
Abstract implementation of a remote repository.
|
class |
BasicRemoteRepository
Just a helper class, mainly used for unit tests.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ArchivaRepositoryRegistry.clone(RemoteRepository repo,
String newId)
Creates a new repository instance with the same settings as this one.
|
RemoteRepository |
ArchivaRepositoryRegistry.getRemoteRepository(String repoId)
Convenience method, that returns the remote repository with the given id.
|
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepository remoteRepository)
Adds a remote repository, or overwrites the repository definition with the same id, if it exists already.
|
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration)
Adds a new repository or updates the repository with the same id, if it exists already.
|
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepository remoteRepository,
Configuration configuration) |
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration,
Configuration configuration)
Adds a new repository or updates the repository with the same id.
|
Modifier and Type | Method and Description |
---|---|
Collection<RemoteRepository> |
ArchivaRepositoryRegistry.getRemoteRepositories()
Returns only the remote repositories.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ArchivaRepositoryRegistry.clone(RemoteRepository repo,
String newId)
Creates a new repository instance with the same settings as this one.
|
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepository remoteRepository)
Adds a remote repository, or overwrites the repository definition with the same id, if it exists already.
|
RemoteRepository |
ArchivaRepositoryRegistry.putRepository(RemoteRepository remoteRepository,
Configuration configuration) |
void |
ArchivaRepositoryRegistry.removeRepository(RemoteRepository remoteRepository)
Removes the remote repository from the registry and configuration.
|
void |
ArchivaRepositoryRegistry.removeRepository(RemoteRepository remoteRepository,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RepositoryConnector.getTargetRepository()
Returns the remote repository that is connected to the local.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RemoteDefaultRepositoryContent.getRepository() |
Modifier and Type | Method and Description |
---|---|
RemoteRepositoryContent |
MavenContentProvider.createRemoteContent(RemoteRepository repository) |
void |
RemoteDefaultRepositoryContent.setRepository(RemoteRepository repository) |
Modifier and Type | Class and Description |
---|---|
class |
MavenRemoteRepository
Maven2 remote repository implementation
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
MavenRepositoryProvider.createRemoteInstance(RemoteRepositoryConfiguration cfg) |
Modifier and Type | Method and Description |
---|---|
RemoteRepositoryConfiguration |
MavenRepositoryProvider.getRemoteConfiguration(RemoteRepository remoteRepository) |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DownloadRemoteIndexTaskRequest.getRemoteRepository() |
Modifier and Type | Method and Description |
---|---|
DownloadRemoteIndexTaskRequest |
DownloadRemoteIndexTaskRequest.setRemoteRepository(RemoteRepository remoteRepository) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.