Modifier and Type | Class and Description |
---|---|
class |
ContentNotFoundException
ContentNotFoundException is thrown in response for requests for content that is not the repository.
|
class |
RepositoryNotFoundException
RepositoryNotFoundException
|
Modifier and Type | Method and Description |
---|---|
ManagedRepository |
RepositoryRegistry.clone(ManagedRepository repo,
String newId) |
RemoteRepository |
RepositoryRegistry.clone(RemoteRepository repo,
String newId) |
<T extends Repository> |
RepositoryRegistry.clone(T repo,
String newId) |
<T extends RepositoryContent,V extends Repository> |
RepositoryContentProvider.createContent(Class<T> clazz,
V repository)
Creates a generic content object.
|
ManagedRepositoryContent |
RepositoryContentProvider.createManagedContent(ManagedRepository repository)
Creates a new instance of ManagedRepositoryContent.
|
ManagedRepository |
RepositoryProvider.createManagedInstance(ManagedRepositoryConfiguration configuration)
Creates a new managed repository instance from the given configuration.
|
RemoteRepositoryContent |
RepositoryContentProvider.createRemoteContent(RemoteRepository repository)
Creates a new instance of RemoteRepositoryContent.
|
RemoteRepository |
RepositoryProvider.createRemoteInstance(RemoteRepositoryConfiguration configuration)
Creates a new remote repository instance from the given configuration.
|
RepositoryGroup |
RepositoryProvider.createRepositoryGroup(RepositoryGroupConfiguration configuration)
Creates a new repository group instance from the given configuration.
|
ManagedRepository |
RepositoryProvider.createStagingInstance(ManagedRepositoryConfiguration baseConfiguration)
Creates a new managed staging repository instance from the given configuration.
|
void |
ManagedRepositoryContent.deleteProject(String namespace,
String projectId) |
ManagedRepositoryConfiguration |
RepositoryProvider.getManagedConfiguration(ManagedRepository managedRepository)
Returns a configuration object from the given managed repository instance.
|
ManagedRepositoryContent |
RepositoryContentFactory.getManagedRepositoryContent(ManagedRepository mRepo) |
ManagedRepositoryContent |
RepositoryContentFactory.getManagedRepositoryContent(String repoId)
Get the ManagedRepositoryContent object for the repository Id specified.
|
RemoteRepositoryConfiguration |
RepositoryProvider.getRemoteConfiguration(RemoteRepository remoteRepository)
Returns a configuration object from the given remote repository instance.
|
RemoteRepositoryContent |
RepositoryContentFactory.getRemoteRepositoryContent(RemoteRepository mRepo) |
RemoteRepositoryContent |
RepositoryContentFactory.getRemoteRepositoryContent(String repoId) |
RepositoryGroupConfiguration |
RepositoryProvider.getRepositoryGroupConfiguration(RepositoryGroup repositoryGroup)
Returns a configuration object from the given repository group instance.
|
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepository managedRepository) |
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration) |
ManagedRepository |
RepositoryRegistry.putRepository(ManagedRepositoryConfiguration managedRepositoryConfiguration,
Configuration configuration) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepository remoteRepository,
Configuration configuration) |
RemoteRepository |
RepositoryRegistry.putRepository(RemoteRepositoryConfiguration remoteRepositoryConfiguration,
Configuration configuration) |
RepositoryGroup |
RepositoryRegistry.putRepositoryGroup(RepositoryGroup repositoryGroup) |
RepositoryGroup |
RepositoryRegistry.putRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration) |
RepositoryGroup |
RepositoryRegistry.putRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration,
Configuration configuration) |
void |
RepositoryRegistry.removeRepository(ManagedRepository managedRepository) |
void |
RepositoryRegistry.removeRepository(ManagedRepository managedRepository,
Configuration configuration) |
void |
RepositoryRegistry.removeRepository(RemoteRepository remoteRepository) |
void |
RepositoryRegistry.removeRepository(RemoteRepository remoteRepository,
Configuration configuration) |
void |
RepositoryRegistry.removeRepository(Repository repo) |
void |
RepositoryRegistry.removeRepository(String repoId) |
void |
RepositoryRegistry.removeRepositoryGroup(RepositoryGroup repositoryGroup) |
void |
RepositoryRegistry.removeRepositoryGroup(RepositoryGroup repositoryGroup,
Configuration configuration) |
void |
RepositoryProvider.updateManagedInstance(EditableManagedRepository repo,
ManagedRepositoryConfiguration configuration)
Updates the given managed repository instance from the given configuration.
|
void |
RepositoryProvider.updateRemoteInstance(EditableRemoteRepository repo,
RemoteRepositoryConfiguration configuration)
Updates the given remote repository instance from the given configuration.
|
void |
RepositoryProvider.updateRepositoryGroupInstance(EditableRepositoryGroup repositoryGroup,
RepositoryGroupConfiguration configuration)
Updates the given remote repository instance from the given configuration.
|
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.
|
RemoteRepository |
ArchivaRepositoryRegistry.clone(RemoteRepository repo,
String newId)
Creates a new repository instance with the same settings as this one.
|
<T extends Repository> |
ArchivaRepositoryRegistry.clone(T repo,
String newId) |
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.
|
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.
|
RepositoryGroup |
ArchivaRepositoryRegistry.putRepositoryGroup(RepositoryGroup repositoryGroup)
Adds a new repository group to the current list, or replaces the repository group definition with
the same id, if it exists already.
|
RepositoryGroup |
ArchivaRepositoryRegistry.putRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration)
Adds a new repository group or updates the repository with the same id, if it exists already.
|
RepositoryGroup |
ArchivaRepositoryRegistry.putRepositoryGroup(RepositoryGroupConfiguration repositoryGroupConfiguration,
Configuration configuration)
Adds a new repository group or updates the repository group with the same id.
|
void |
ArchivaRepositoryRegistry.removeRepository(ManagedRepository managedRepository)
Removes a managed repository from the registry and configuration, if it exists.
|
void |
ArchivaRepositoryRegistry.removeRepository(ManagedRepository managedRepository,
Configuration configuration) |
void |
ArchivaRepositoryRegistry.removeRepository(RemoteRepository remoteRepository)
Removes the remote repository from the registry and configuration.
|
void |
ArchivaRepositoryRegistry.removeRepository(RemoteRepository remoteRepository,
Configuration configuration) |
void |
ArchivaRepositoryRegistry.removeRepository(Repository repo) |
void |
ArchivaRepositoryRegistry.removeRepository(String repoId) |
void |
ArchivaRepositoryRegistry.removeRepositoryGroup(RepositoryGroup repositoryGroup)
Removes a repository group from the registry and configuration, if it exists.
|
void |
ArchivaRepositoryRegistry.removeRepositoryGroup(RepositoryGroup repositoryGroup,
Configuration configuration) |
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 |
---|---|
<T extends RepositoryContent,V extends Repository> |
MavenContentProvider.createContent(Class<T> clazz,
V repository) |
ManagedRepositoryContent |
MavenContentProvider.createManagedContent(ManagedRepository repository) |
RemoteRepositoryContent |
MavenContentProvider.createRemoteContent(RemoteRepository repository) |
void |
ManagedDefaultRepositoryContent.deleteProject(String namespace,
String projectId) |
Modifier and Type | Class and Description |
---|---|
class |
RepositoryMetadataException
RepositoryMetadataException
|
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.