VcsRepositoryManager
@Deprecated public interface RepositoryManager
Repository
objectsModifier and Type | Method and Description |
---|---|
List<RepositoryModuleDescriptor> |
getAvailableRepositoryDescriptors()
Deprecated.
Returns a list of available (i.e.
|
List<RepositoryModuleDescriptor> |
getAvailableStandaloneRepositoryDescriptors()
Deprecated.
Returns a list of available (i.e.
|
List<NameValuePair> |
getFilterOptions()
Deprecated.
Get change detection filter options.
|
Repository |
getNewRepositoryInstance(String repositoryKey)
Deprecated.
Takes in a repository key and creates a new
Repository for that key |
MavenPomAccessorCapableRepository |
getNewRepositoryInstanceFromMavenScmProviderKey(String scmProviderKey)
Deprecated.
Takes in a Maven SCM provider key and creates a new
Repository for that key. |
List<Repository> |
getRepositories()
Deprecated.
Retuns a list of available
Repository objects |
RepositoryModuleDescriptor |
getRepositoryModuleDescriptor(String pluginKey)
Deprecated.
Returns a
RepositoryModuleDescriptor for a plugin key |
@NotNull List<Repository> getRepositories()
Repository
objectsRepository
. Empty list if none exists.@Nullable Repository getNewRepositoryInstance(String repositoryKey)
Repository
for that keyrepositoryKey
- - Cannot be nullRepository
matching the key. Throws IllegalArgumentException
if invalidIllegalArgumentException
- if the key does not correspond to a valid Repository
@Nullable MavenPomAccessorCapableRepository getNewRepositoryInstanceFromMavenScmProviderKey(@NotNull String scmProviderKey)
Repository
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.htmlscmProviderKey
- - Maven SCM URLRepository
matching the key. Throws IllegalArgumentException
if invalid@NotNull List<NameValuePair> getFilterOptions()
@NotNull List<RepositoryModuleDescriptor> getAvailableRepositoryDescriptors()
RepositoryModuleDescriptor
objects.RepositoryModuleDescriptor
sorted by weight. Empty list if none exists.@NotNull List<RepositoryModuleDescriptor> getAvailableStandaloneRepositoryDescriptors()
RepositoryModuleDescriptor
objects that represent StandaloneRepository
RepositoryModuleDescriptor
sorted by weight. Empty list if none exists.@Nullable RepositoryModuleDescriptor getRepositoryModuleDescriptor(String pluginKey)
RepositoryModuleDescriptor
for a plugin keypluginKey
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.