Package com.atlassian.bamboo.repository
Interface RepositoryManager
- All Known Implementing Classes:
DefaultRepositoryManager
Deprecated.
Interface to handle interactions with
Repository
objects-
Method Summary
Modifier and TypeMethodDescription@NotNull List<RepositoryModuleDescriptor>
Deprecated.Returns a list of available (i.e.@NotNull List<RepositoryModuleDescriptor>
Deprecated.Returns a list of available (i.e.@NotNull List<NameValuePair>
Deprecated.Get change detection filter options.@Nullable Repository
getNewRepositoryInstance
(String repositoryKey) Deprecated.Takes in a repository key and creates a newRepository
for that key@Nullable MavenPomAccessorCapableRepository
getNewRepositoryInstanceFromMavenScmProviderKey
(@NotNull String scmProviderKey) Deprecated.Takes in a Maven SCM provider key and creates a newRepository
for that key.@NotNull List<Repository>
Deprecated.Retuns a list of availableRepository
objects@Nullable RepositoryModuleDescriptor
getRepositoryModuleDescriptor
(String pluginKey) Deprecated.Returns aRepositoryModuleDescriptor
for a plugin key
-
Method Details
-
getRepositories
Deprecated.Retuns a list of availableRepository
objects- Returns:
- Immutable list of
Repository
. Empty list if none exists.
-
getNewRepositoryInstance
Deprecated.Takes in a repository key and creates a newRepository
for that key- Parameters:
repositoryKey
- - Cannot be null- Returns:
Repository
matching the key. ThrowsIllegalArgumentException
if invalid- Throws:
IllegalArgumentException
- if the key does not correspond to a validRepository
-
getNewRepositoryInstanceFromMavenScmProviderKey
@Nullable @Nullable MavenPomAccessorCapableRepository getNewRepositoryInstanceFromMavenScmProviderKey(@NotNull @NotNull String scmProviderKey) Deprecated.Takes in a Maven SCM provider key and creates a newRepository
for that key. Repository object is not initialized with the SCM URL. Maven SCM URL format is defined in http://maven.apache.org/scm/scm-url-format.html- Parameters:
scmProviderKey
- - Maven SCM URL- Returns:
Repository
matching the key. ThrowsIllegalArgumentException
if invalid
-
getFilterOptions
Deprecated.Get change detection filter options. e.g. exclude/include files.- Returns:
-
getAvailableRepositoryDescriptors
Deprecated.Returns a list of available (i.e. installed and enabled)RepositoryModuleDescriptor
objects.- Returns:
- Immutable list of
RepositoryModuleDescriptor
sorted by weight. Empty list if none exists. - Since:
- 5.5
-
getAvailableStandaloneRepositoryDescriptors
Deprecated.Returns a list of available (i.e. installed and enabled)RepositoryModuleDescriptor
objects that representStandaloneRepository
- Returns:
- Immutable list of
RepositoryModuleDescriptor
sorted by weight. Empty list if none exists. - Since:
- 5.5
-
getRepositoryModuleDescriptor
Deprecated.Returns aRepositoryModuleDescriptor
for a plugin key- Parameters:
pluginKey
-- Since:
- 5.5
-
VcsRepositoryManager