Modifier and Type | Method and Description |
---|---|
void |
RepositoryContentConsumer.beginScan(ManagedRepository repository,
Date whenGathered)
Event that triggers at the beginning of a scan.
|
void |
RepositoryContentConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo)
Event that triggers at the beginning of a scan, where you can also indicate whether the consumers will be
executed on an entire repository or on a specific resource.
|
Modifier and Type | Method and Description |
---|---|
void |
AutoRemoveConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
MetadataUpdaterConsumer.beginScan(ManagedRepository repoConfig,
Date whenGathered) |
void |
ArtifactMissingChecksumsConsumer.beginScan(ManagedRepository repo,
Date whenGathered) |
void |
AutoRenameConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
ValidateChecksumConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
AutoRemoveConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
void |
MetadataUpdaterConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
void |
ArtifactMissingChecksumsConsumer.beginScan(ManagedRepository repo,
Date whenGathered,
boolean executeOnEntireRepo) |
void |
AutoRenameConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
void |
ValidateChecksumConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryPurgeConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
RepositoryPurgeConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Constructor and Description |
---|
ConsumerWantsFilePredicate(ManagedRepository managedRepository) |
Modifier and Type | Method and Description |
---|---|
void |
NexusIndexerConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
NexusIndexerConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
void |
ArchivaMetadataCreationConsumer.beginScan(ManagedRepository repo,
Date whenGathered) |
void |
ArchivaMetadataCreationConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
void |
LegacyConverterArtifactConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
LegacyConverterArtifactConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryStorage.applyServerSideRelocation(ManagedRepository managedRepository,
ArtifactReference artifact)
A relocation capable client will request the POM prior to the artifact, and will then read meta-data and do
client side relocation.
|
String |
RepositoryStorage.getFilePath(String requestPath,
ManagedRepository managedRepository)
add an other method to evaluate real path as when receiving -SNAPSHOT (for maven storage)
request redirect to the last build
|
Modifier and Type | Method and Description |
---|---|
void |
Maven2RepositoryStorage.applyServerSideRelocation(ManagedRepository managedRepository,
ArtifactReference artifact) |
String |
Maven2RepositoryStorage.getFilePath(String requestPath,
ManagedRepository managedRepository) |
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 |
---|---|
StorageAsset |
DefaultRepositoryProxyHandler.fetchFromProxies(ManagedRepository repository,
ArtifactReference artifact) |
StorageAsset |
DefaultRepositoryProxyHandler.fetchFromProxies(ManagedRepository repository,
String path) |
ProxyFetchResult |
DefaultRepositoryProxyHandler.fetchMetadataFromProxies(ManagedRepository repository,
String logicalPath) |
List<ProxyConnector> |
DefaultRepositoryProxyHandler.getProxyConnectors(ManagedRepository repository)
TODO: Ensure that list is correctly ordered based on configuration.
|
boolean |
DefaultRepositoryProxyHandler.hasProxies(ManagedRepository repository)
Test if the provided ManagedRepositoryContent has any proxies configured for it.
|
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 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 |
---|---|
ManagedRepository |
ProxyConnector.getSourceRepository() |
Modifier and Type | Method and Description |
---|---|
StorageAsset |
RepositoryProxyHandler.fetchFromProxies(ManagedRepository repository,
ArtifactReference artifact)
Performs the artifact fetch operation against the target repositories
of the provided source repository.
|
StorageAsset |
RepositoryProxyHandler.fetchFromProxies(ManagedRepository managedRepository,
String path)
Performs the fetch operation against the target repositories
of the provided source repository by a specific path.
|
ProxyFetchResult |
RepositoryProxyHandler.fetchMetadataFromProxies(ManagedRepository repository,
String logicalPath)
Performs the metadata fetch operation against the target repositories
of the provided source repository.
|
List<ProxyConnector> |
RepositoryProxyHandler.getProxyConnectors(ManagedRepository repository)
Get the List of
ProxyConnector objects of the source repository. |
boolean |
RepositoryProxyHandler.hasProxies(ManagedRepository repository)
Tests to see if the provided repository is a source repository for
any
ProxyConnector objects. |
void |
ProxyConnector.setSourceRepository(ManagedRepository sourceRepository)
Sets the source repository.
|
Modifier and Type | Method and Description |
---|---|
void |
DuplicateArtifactsConsumer.beginScan(ManagedRepository repo,
Date whenGathered) |
void |
DuplicateArtifactsConsumer.beginScan(ManagedRepository repo,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Interface and Description |
---|---|
interface |
EditableManagedRepository
The editable part of a managed repository.
|
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
RepositoryRegistry.clone(ManagedRepository repo,
String newId) |
ManagedRepository |
RepositoryProvider.createManagedInstance(ManagedRepositoryConfiguration configuration)
Creates a new managed repository instance from the given configuration.
|
ManagedRepository |
RepositoryProvider.createStagingInstance(ManagedRepositoryConfiguration baseConfiguration)
Creates a new managed staging repository instance from the given configuration.
|
ManagedRepository |
RepositoryRegistry.getManagedRepository(String repoId) |
ManagedRepository |
ManagedRepositoryContent.getRepository()
Get the repository configuration associated with this
repository content.
|
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepository managedRepository) |
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration) |
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration,
Configuration configuration) |
ManagedRepository |
EditableRepositoryGroup.removeRepository(String repoId) |
Modifier and Type | Method and Description |
---|---|
Collection<ManagedRepository> |
RepositoryRegistry.getManagedRepositories() |
List<ManagedRepository> |
RepositoryGroup.getRepositories()
Returns the list of repositories.
|
Modifier and Type | Method and Description |
---|---|
void |
EditableRepositoryGroup.addRepository(int index,
ManagedRepository repository) |
void |
EditableRepositoryGroup.addRepository(ManagedRepository repository) |
ManagedRepository |
RepositoryRegistry.clone(ManagedRepository repo,
String newId) |
boolean |
RepositoryGroup.contains(ManagedRepository repository)
Returns true, if the given repository is part of this group.
|
ManagedRepositoryContent |
RepositoryContentProvider.createManagedContent(ManagedRepository repository)
Creates a new instance of ManagedRepositoryContent.
|
ManagedRepositoryConfiguration |
RepositoryProvider.getManagedConfiguration(ManagedRepository managedRepository)
Returns a configuration object from the given managed repository instance.
|
ManagedRepositoryContent |
RepositoryContentFactory.getManagedRepositoryContent(ManagedRepository mRepo) |
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepository managedRepository) |
boolean |
EditableRepositoryGroup.removeRepository(ManagedRepository repository) |
void |
RepositoryRegistry.removeRepository(ManagedRepository managedRepository) |
void |
RepositoryRegistry.removeRepository(ManagedRepository managedRepository,
Configuration configuration) |
void |
ManagedRepositoryContent.setRepository(ManagedRepository repo)
Set the repository configuration to associate with this
repository content.
|
Modifier and Type | Method and Description |
---|---|
void |
EditableRepositoryGroup.setRepositories(List<ManagedRepository> repositories) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractManagedRepository
Simple implementation of a managed repository.
|
class |
BasicManagedRepository
Just a helper class, mainly used for unit tests.
|
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
ArchivaRepositoryRegistry.clone(ManagedRepository repo,
String newId)
Creates a new repository instance with the same settings as this one.
|
ManagedRepository |
ArchivaRepositoryRegistry.getManagedRepository(String repoId)
Convenience method, that returns the managed repository with the given id.
|
ManagedRepository |
ArchivaRepositoryRegistry.putRepository(ManagedRepository managedRepository)
Adds a new repository to the current list, or replaces the repository definition with
the same id, if it exists already.
|
ManagedRepository |
ArchivaRepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration)
Adds a new repository or updates the repository with the same id, if it exists already.
|
ManagedRepository |
ArchivaRepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration,
Configuration configuration)
Adds a new repository or updates the repository with the same id.
|
ManagedRepository |
AbstractRepositoryGroup.removeRepository(String repoId) |
Modifier and Type | Method and Description |
---|---|
Collection<ManagedRepository> |
ArchivaRepositoryRegistry.getManagedRepositories()
Returns only the managed repositories.
|
List<ManagedRepository> |
AbstractRepositoryGroup.getRepositories() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRepositoryGroup.addRepository(int index,
ManagedRepository repository) |
void |
AbstractRepositoryGroup.addRepository(ManagedRepository repository) |
ManagedRepository |
ArchivaRepositoryRegistry.clone(ManagedRepository repo,
String newId)
Creates a new repository instance with the same settings as this one.
|
boolean |
AbstractRepositoryGroup.contains(ManagedRepository repository) |
ManagedRepository |
ArchivaRepositoryRegistry.putRepository(ManagedRepository managedRepository)
Adds a new repository to the current list, or replaces the repository definition with
the same id, if it exists already.
|
boolean |
AbstractRepositoryGroup.removeRepository(ManagedRepository repository) |
void |
ArchivaRepositoryRegistry.removeRepository(ManagedRepository managedRepository)
Removes a managed repository from the registry and configuration, if it exists.
|
void |
ArchivaRepositoryRegistry.removeRepository(ManagedRepository managedRepository,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRepositoryGroup.setRepositories(List<ManagedRepository> newRepositories) |
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
RepositoryConnector.getSourceRepository()
Returns the local repository that is connected to the remote.
|
Modifier and Type | Method and Description |
---|---|
StorageAsset |
ArtifactUtil.getArtifactAsset(ManagedRepository repository,
ArtifactReference artifactReference)
Returns the physical location of a given artifact in the repository.
|
Path |
ArtifactUtil.getArtifactPath(ManagedRepository repository,
ArtifactReference artifactReference)
Returns the physical location of a given artifact in the repository.
|
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
ManagedDefaultRepositoryContent.getRepository() |
Modifier and Type | Method and Description |
---|---|
ManagedRepositoryContent |
MavenContentProvider.createManagedContent(ManagedRepository repository) |
void |
ManagedDefaultRepositoryContent.setRepository(ManagedRepository repo) |
Constructor and Description |
---|
ManagedDefaultRepositoryContent(ManagedRepository repository,
FileTypes fileTypes,
FileLockManager lockManager) |
ManagedDefaultRepositoryContent(ManagedRepository repository,
List<? extends ArtifactMappingProvider> artifactMappingProviders,
FileTypes fileTypes,
FileLockManager lockManager) |
MavenRepositoryRequestInfo(ManagedRepository repository) |
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
StagingRepositoryFeature.getStagingRepository()
Returns the staging repository, if it exists.
|
Modifier and Type | Method and Description |
---|---|
void |
StagingRepositoryFeature.setStagingRepository(ManagedRepository stagingRepository)
Sets the staging repository.
|
Constructor and Description |
---|
StagingRepositoryFeature(ManagedRepository stagingRepository,
boolean stageRepoNeeded) |
Modifier and Type | Class and Description |
---|---|
class |
MavenManagedRepository
Maven2 managed repository implementation.
|
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
MavenRepositoryProvider.createManagedInstance(ManagedRepositoryConfiguration cfg) |
ManagedRepository |
MavenRepositoryProvider.createStagingInstance(ManagedRepositoryConfiguration baseConfiguration) |
Modifier and Type | Method and Description |
---|---|
ManagedRepositoryConfiguration |
MavenRepositoryProvider.getManagedConfiguration(ManagedRepository managedRepository) |
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
RepositoryScannerInstance.getRepository() |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryContentConsumers.executeConsumers(ManagedRepository repository,
Path localFile,
boolean updateRelatedArtifacts)
A convienence method to execute all of the active selected consumers for a
particular arbitrary file.
|
RepositoryScanStatistics |
RepositoryScanner.scan(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownContentConsumers,
List<InvalidRepositoryContentConsumer> invalidContentConsumers,
List<String> ignoredContentPatterns,
long changesSince)
Scan the repository for content changes.
|
RepositoryScanStatistics |
DefaultRepositoryScanner.scan(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownContentConsumers,
List<InvalidRepositoryContentConsumer> invalidContentConsumers,
List<String> ignoredContentPatterns,
long changesSince) |
RepositoryScanStatistics |
RepositoryScanner.scan(ManagedRepository repository,
long changesSince)
Scan the repository for content changes.
|
RepositoryScanStatistics |
DefaultRepositoryScanner.scan(ManagedRepository repository,
long changesSince) |
String |
RepositoryScanStatistics.toDump(ManagedRepository repo) |
Constructor and Description |
---|
RepositoryScannerInstance(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownConsumerList,
List<InvalidRepositoryContentConsumer> invalidConsumerList) |
RepositoryScannerInstance(ManagedRepository repository,
List<KnownRepositoryContentConsumer> knownContentConsumers,
List<InvalidRepositoryContentConsumer> invalidContentConsumers,
long changesSince) |
Constructor and Description |
---|
TriggerBeginScanClosure(ManagedRepository repository) |
TriggerBeginScanClosure(ManagedRepository repository,
Date whenGathered) |
TriggerBeginScanClosure(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
TriggerScanCompletedClosure(ManagedRepository repository) |
TriggerScanCompletedClosure(ManagedRepository repository,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
ArtifactIndexingTask.getRepository() |
Constructor and Description |
---|
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context) |
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context,
boolean executeOnEntireRepo) |
ArtifactIndexingTask(ManagedRepository repository,
Path resourceFile,
ArtifactIndexingTask.Action action,
ArchivaIndexingContext context,
boolean executeOnEntireRepo,
boolean onlyUpdate) |
Modifier and Type | Method and Description |
---|---|
void |
MockInvalidRepositoryContentConsumer.beginScan(ManagedRepository repository,
Date whenGathered) |
void |
MockInvalidRepositoryContentConsumer.beginScan(ManagedRepository repository,
Date whenGathered,
boolean executeOnEntireRepo) |
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
RepositoryServlet.getRepository(String prefix) |
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.