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. installed and enabled)RepositoryModuleDescriptorobjects.@NotNull List<RepositoryModuleDescriptor>Deprecated.Returns a list of available (i.e. installed and enabled)RepositoryModuleDescriptorobjects that representStandaloneRepository@NotNull List<NameValuePair>Deprecated.Get change detection filter options.@Nullable RepositorygetNewRepositoryInstance(String repositoryKey) Deprecated.Takes in a repository key and creates a newRepositoryfor that key@Nullable MavenPomAccessorCapableRepositorygetNewRepositoryInstanceFromMavenScmProviderKey(@NotNull String scmProviderKey) Deprecated.Takes in a Maven SCM provider key and creates a newRepositoryfor that key.@NotNull List<Repository>Deprecated.Retuns a list of availableRepositoryobjects@Nullable RepositoryModuleDescriptorgetRepositoryModuleDescriptor(String pluginKey) Deprecated.Returns aRepositoryModuleDescriptorfor a plugin key
-
Method Details
-
getRepositories
Deprecated.Retuns a list of availableRepositoryobjects- Returns:
- Immutable list of
Repository. Empty list if none exists.
-
getNewRepositoryInstance
Deprecated.Takes in a repository key and creates a newRepositoryfor that key- Parameters:
repositoryKey- - Cannot be null- Returns:
Repositorymatching the key. ThrowsIllegalArgumentExceptionif 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 newRepositoryfor 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:
Repositorymatching the key. ThrowsIllegalArgumentExceptionif 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)RepositoryModuleDescriptorobjects.- Returns:
- Immutable list of
RepositoryModuleDescriptorsorted by weight. Empty list if none exists. - Since:
- 5.5
-
getAvailableStandaloneRepositoryDescriptors
Deprecated.Returns a list of available (i.e. installed and enabled)RepositoryModuleDescriptorobjects that representStandaloneRepository- Returns:
- Immutable list of
RepositoryModuleDescriptorsorted by weight. Empty list if none exists. - Since:
- 5.5
-
getRepositoryModuleDescriptor
Deprecated.Returns aRepositoryModuleDescriptorfor a plugin key- Parameters:
pluginKey-- Since:
- 5.5
-
VcsRepositoryManager