Package com.atlassian.bamboo.repository
Interface RepositoryManager
-
- All Known Implementing Classes:
DefaultRepositoryManager
@Deprecated public interface RepositoryManager
Deprecated.since 5.14 useVcsRepositoryManager
Interface to handle interactions withRepository
objects
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull List<RepositoryModuleDescriptor>
getAvailableRepositoryDescriptors()
Deprecated.Returns a list of available (i.e.@NotNull List<RepositoryModuleDescriptor>
getAvailableStandaloneRepositoryDescriptors()
Deprecated.Returns a list of available (i.e.@NotNull List<NameValuePair>
getFilterOptions()
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>
getRepositories()
Deprecated.Retuns a list of availableRepository
objects@Nullable RepositoryModuleDescriptor
getRepositoryModuleDescriptor(String pluginKey)
Deprecated.Returns aRepositoryModuleDescriptor
for a plugin key
-
-
-
Method Detail
-
getRepositories
@NotNull @NotNull List<Repository> getRepositories()
Deprecated.Retuns a list of availableRepository
objects- Returns:
- Immutable list of
Repository
. Empty list if none exists.
-
getNewRepositoryInstance
@Nullable @Nullable Repository getNewRepositoryInstance(String repositoryKey)
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
@NotNull @NotNull List<NameValuePair> getFilterOptions()
Deprecated.Get change detection filter options. e.g. exclude/include files.- Returns:
-
getAvailableRepositoryDescriptors
@NotNull @NotNull List<RepositoryModuleDescriptor> 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
@NotNull @NotNull List<RepositoryModuleDescriptor> 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
@Nullable @Nullable RepositoryModuleDescriptor getRepositoryModuleDescriptor(String pluginKey)
Deprecated.Returns aRepositoryModuleDescriptor
for a plugin key- Parameters:
pluginKey
-- Since:
- 5.5
-
-