Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
CollectRequest.getRepositories()
Gets the repositories to use for the collection.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.addRepository(RemoteRepository repository)
Adds the specified repository for collection.
|
Modifier and Type | Method and Description |
---|---|
CollectRequest |
CollectRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to use for the collection.
|
Constructor and Description |
---|
CollectRequest(Dependency root,
List<Dependency> dependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
CollectRequest(Dependency root,
List<RemoteRepository> repositories)
Creates a request with the specified properties.
|
CollectRequest(List<Dependency> dependencies,
List<Dependency> managedDependencies,
List<RemoteRepository> repositories)
Creates a new request with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
AsyncRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
FileRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Constructor and Description |
---|
FileRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository,
FileProcessor fileProcessor,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
WagonRepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DeployRequest.getRepository()
Gets the repository to deploy to.
|
Modifier and Type | Method and Description |
---|---|
DeployRequest |
DeployRequest.setRepository(RemoteRepository repository)
Sets the repository to deploy to.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
DependencyNode.getRepositories()
Gets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
UpdateCheck.getAuthoritativeRepository()
Gets the repository which ultimately hosts the metadata to update.
|
RemoteRepository |
UpdateCheck.getRepository()
Gets the repository from which a potential update/download will performed.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
Modifier and Type | Method and Description |
---|---|
RepositoryPolicy |
RemoteRepositoryManager.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
boolean releases,
boolean snapshots) |
RepositoryConnector |
RemoteRepositoryManager.getRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository) |
UpdateCheck<T,E> |
UpdateCheck.setAuthoritativeRepository(RemoteRepository authoritativeRepository)
Sets the repository which ultimately hosts the metadata to update.
|
UpdateCheck<T,E> |
UpdateCheck.setRepository(RemoteRepository repository)
Sets the repository from which a potential update/download will performed.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
List<RemoteRepository> |
RemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
Modifier and Type | Method and Description |
---|---|
String |
SimpleLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
String context) |
String |
SimpleLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
String context) |
RepositoryPolicy |
DefaultRemoteRepositoryManager.getPolicy(RepositorySystemSession session,
RemoteRepository repository,
boolean releases,
boolean snapshots) |
RepositoryConnector |
DefaultRemoteRepositoryManager.getRepositoryConnector(RepositorySystemSession session,
RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
List<RemoteRepository> |
DefaultRemoteRepositoryManager.aggregateRepositories(RepositorySystemSession session,
List<RemoteRepository> dominantRepositories,
List<RemoteRepository> recessiveRepositories,
boolean recessiveIsRaw) |
static ArtifactRepository |
CacheUtils.getRepository(RepositorySystemSession session,
List<RemoteRepository> repositories,
Class<?> repoClass,
String repoId) |
static boolean |
CacheUtils.repositoriesEquals(List<RemoteRepository> r1,
List<RemoteRepository> r2) |
static boolean |
CacheUtils.repositoriesEquals(List<RemoteRepository> r1,
List<RemoteRepository> r2) |
static int |
CacheUtils.repositoriesHashCode(List<RemoteRepository> repositories) |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
MirrorSelector.getMirror(RemoteRepository repository)
Selects a mirror for the specified repository.
|
RemoteRepository |
LocalMetadataRequest.getRepository()
Gets the remote repository to use as source of the metadata.
|
RemoteRepository |
LocalArtifactRegistration.getRepository()
Gets the remote repository from which the artifact was resolved.
|
RemoteRepository |
LocalMetadataRegistration.getRepository()
Gets the remote repository from which the metadata was resolved.
|
RemoteRepository |
LocalArtifactResult.getRepository()
Gets the (first) remote repository from which the artifact was cached (if any).
|
RemoteRepository |
RemoteRepository.setAuthentication(Authentication authentication)
Sets the authentication to use in order to access this repository.
|
RemoteRepository |
RemoteRepository.setContentType(String type)
Sets the type of this repository, e.g.
|
RemoteRepository |
RemoteRepository.setId(String id)
Sets the identifier of this repository.
|
RemoteRepository |
RemoteRepository.setMirroredRepositories(List<RemoteRepository> mirroredRepositories)
Sets the repositories being mirrored by this repository.
|
RemoteRepository |
RemoteRepository.setPolicy(boolean snapshot,
RepositoryPolicy policy)
Sets the policy to apply for snapshot/release artifacts.
|
RemoteRepository |
RemoteRepository.setProxy(Proxy proxy)
Sets the proxy to use in order to access this repository.
|
RemoteRepository |
RemoteRepository.setRepositoryManager(boolean repositoryManager)
Marks this repository as a repository manager or not.
|
RemoteRepository |
RemoteRepository.setUrl(String url)
Sets the (base) URL of this repository.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
RemoteRepository.getMirroredRepositories()
Gets the repositories that this repository serves as a mirror for.
|
List<RemoteRepository> |
LocalArtifactRequest.getRepositories()
Gets the remote repositories to consider as sources of the artifact.
|
Modifier and Type | Method and Description |
---|---|
Authentication |
AuthenticationSelector.getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.
|
RemoteRepository |
MirrorSelector.getMirror(RemoteRepository repository)
Selects a mirror for the specified repository.
|
String |
LocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
String context)
Gets the relative path for an artifact cached from a remote repository.
|
String |
LocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
String context)
Gets the relative path for metadata cached from a remote repository.
|
Proxy |
ProxySelector.getProxy(RemoteRepository repository)
Selects a proxy for the specified remote repository.
|
LocalMetadataRequest |
LocalMetadataRequest.setRepository(RemoteRepository repository)
Sets the remote repository to use as sources of the metadata.
|
LocalArtifactRegistration |
LocalArtifactRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the artifact was resolved.
|
LocalMetadataRegistration |
LocalMetadataRegistration.setRepository(RemoteRepository repository)
Sets the remote repository from which the metadata was resolved.
|
LocalArtifactResult |
LocalArtifactResult.setRepository(RemoteRepository repository)
Sets the (first) remote repository from which the artifact was cached.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
RemoteRepository.setMirroredRepositories(List<RemoteRepository> mirroredRepositories)
Sets the repositories being mirrored by this repository.
|
LocalArtifactRequest |
LocalArtifactRequest.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories to consider as sources of the artifact.
|
Constructor and Description |
---|
LocalArtifactRegistration(Artifact artifact,
RemoteRepository repository,
Collection<String> contexts)
Creates a registration request for the specified artifact.
|
LocalMetadataRegistration(Metadata metadata,
RemoteRepository repository,
Collection<String> contexts)
Creates a registration request for the specified metadata.
|
LocalMetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a query with the specified properties.
|
RemoteRepository(RemoteRepository repository)
Creates a shallow copy of the specified repository.
|
Constructor and Description |
---|
LocalArtifactRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a query with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
MetadataRequest.getRepository()
Gets the repository from which the metadata should be resolved.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
ArtifactDescriptorResult.getRepositories()
Gets the remote repositories listed in the artifact descriptor.
|
List<RemoteRepository> |
ArtifactRequest.getRepositories()
Gets the repositories to resolve the version range from.
|
List<RemoteRepository> |
ArtifactDescriptorRequest.getRepositories()
Gets the repositories to resolve the descriptor from.
|
List<RemoteRepository> |
VersionRangeRequest.getRepositories()
Gets the repositories to resolve the version range from.
|
List<RemoteRepository> |
VersionRequest.getRepositories()
Gets the repositories to resolve the version from.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.addRepository(RemoteRepository repository)
Adds the specified remote repository.
|
ArtifactRequest |
ArtifactRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution of the artifact descriptor.
|
VersionRangeRequest |
VersionRangeRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
VersionRequest |
VersionRequest.addRepository(RemoteRepository repository)
Adds the specified repository for the resolution.
|
MetadataRequest |
MetadataRequest.setRepository(RemoteRepository repository)
Sets the repository from which the metadata should be resolved.
|
Modifier and Type | Method and Description |
---|---|
ArtifactDescriptorResult |
ArtifactDescriptorResult.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories listed in the artifact descriptor.
|
ArtifactRequest |
ArtifactRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the artifact from.
|
ArtifactDescriptorRequest |
ArtifactDescriptorRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the descriptor from.
|
VersionRangeRequest |
VersionRangeRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the version range from.
|
VersionRequest |
VersionRequest.setRepositories(List<RemoteRepository> repositories)
Sets the repositories to resolve the version from.
|
Constructor and Description |
---|
MetadataRequest(Metadata metadata,
RemoteRepository repository,
String context)
Creates a request with the specified properties.
|
Constructor and Description |
---|
ArtifactDescriptorRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
ArtifactRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
VersionRangeRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
VersionRequest(Artifact artifact,
List<RemoteRepository> repositories,
String context)
Creates a request with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
MetadataDownload.getRepositories()
Gets the remote repositories that are being aggregated by the physically contacted remote repository (i.e. a
repository manager).
|
List<RemoteRepository> |
ArtifactDownload.getRepositories()
Gets the remote repositories that are being aggregated by the physically contacted remote repository (i.e. a
repository manager).
|
Modifier and Type | Method and Description |
---|---|
RepositoryConnector |
RepositoryConnectorFactory.newInstance(RepositorySystemSession session,
RemoteRepository repository)
Tries to create a repository connector for the specified remote repository.
|
Modifier and Type | Method and Description |
---|---|
MetadataDownload |
MetadataDownload.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories that are being aggregated by the physically contacted remote repository (i.e. a
repository manager).
|
ArtifactDownload |
ArtifactDownload.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories that are being aggregated by the physically contacted remote repository (i.e. a
repository manager).
|
Modifier and Type | Method and Description |
---|---|
String |
TestLocalRepositoryManager.getPathForRemoteArtifact(Artifact artifact,
RemoteRepository repository,
String context) |
String |
TestLocalRepositoryManager.getPathForRemoteMetadata(Metadata metadata,
RemoteRepository repository,
String context) |
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
ArtifactDescription.getRepositories() |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ConnectorTestContext.getRepository() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectorTestContext.setRepository(RemoteRepository repository) |
Constructor and Description |
---|
ConnectorTestContext(RemoteRepository repository,
RepositorySystemSession session) |
Modifier and Type | Field and Description |
---|---|
protected RemoteRepository |
ConnectorTestSuiteSetup.repository |
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
ConnectorTestSetup.before(RepositorySystemSession session,
Map<String,Object> context)
This method is called before each test run.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectorTestSetup.after(RepositorySystemSession session,
RemoteRepository repository,
Map<String,Object> context)
This method is called after each test of the bundle is executed.
|
void |
ConnectorTestSetup.AbstractConnectorTestSetup.after(RepositorySystemSession session,
RemoteRepository repository,
Map<String,Object> context) |
static void |
TransferEventTester.testFailedTransferEvents(RepositoryConnectorFactory factory,
TestRepositorySystemSession session,
RemoteRepository repository)
Test the order of events and their properties for the unsuccessful up- and download of artifact and metadata.
|
static void |
TransferEventTester.testSuccessfulTransferEvents(RepositoryConnectorFactory factory,
TestRepositorySystemSession session,
RemoteRepository repository)
Test the order of events and their properties for the successful up- and download of artifact and metadata.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
TestDependencyNode.getRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
TestDependencyNode.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
NoRepositoryConnectorException.getRepository() |
RemoteRepository |
ArtifactTransferException.getRepository() |
RemoteRepository |
MetadataTransferException.getRepository() |
Modifier and Type | Method and Description |
---|---|
List<RemoteRepository> |
DefaultDependencyNode.getRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setRepositories(List<RemoteRepository> repositories)
Sets the remote repositories from which this node's artifact shall be resolved.
|
Modifier and Type | Method and Description |
---|---|
RemoteRepository |
DefaultMirrorSelector.getMirror(RemoteRepository repository) |
Modifier and Type | Method and Description |
---|---|
Authentication |
ConservativeAuthenticationSelector.getAuthentication(RemoteRepository repository) |
Authentication |
DefaultAuthenticationSelector.getAuthentication(RemoteRepository repository) |
RemoteRepository |
DefaultMirrorSelector.getMirror(RemoteRepository repository) |
Proxy |
ConservativeProxySelector.getProxy(RemoteRepository repository) |
Proxy |
DefaultProxySelector.getProxy(RemoteRepository repository) |
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.