public interface VcsRepositoryManager
Modifier and Type | Method and Description |
---|---|
Repository2VcsTypeConverter |
findConverterFor(String pluginKey)
Looks for converted of an old style repository plugin data to a new style plugin data.
|
Repository2VcsTypeConverter |
findReverseConverterFor(String pluginKey)
Looks for converted of an new style repository plugin data to a old style plugin data.
|
List<VcsRepositoryModuleDescriptor> |
getAvailableRepositoryDescriptors()
Returns a list of available (i.e.
|
List<VcsRepositoryModuleDescriptor> |
getAvailableStandaloneRepositoryDescriptors()
Deprecated.
since 5.14
|
VcsRepositoryModuleDescriptor |
getRepositoryModuleDescriptorByMavenScmKey(String mavenScmKey,
String preferredPluginKey) |
VcsRepositoryModuleDescriptor |
getVcsRepositoryModuleDescriptor(String pluginKey)
Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.
|
@NotNull List<VcsRepositoryModuleDescriptor> getAvailableRepositoryDescriptors()
VcsRepositoryModuleDescriptor
objects.VcsRepositoryModuleDescriptor
sorted by weight. Empty list if none exists.@Nullable VcsRepositoryModuleDescriptor getVcsRepositoryModuleDescriptor(@NotNull String pluginKey)
pluginKey
- @NotNull @Deprecated List<VcsRepositoryModuleDescriptor> getAvailableStandaloneRepositoryDescriptors()
VcsRepositoryModuleDescriptor
objects representing
repository plugins that do not require Plan
during configuration.
This method only exist for compatibility with old plugins, that still use Repository
interface.
All plugins implemented with new API are "standalone" by definition.VcsRepositoryModuleDescriptor
sorted by weight. Empty list if none exists.@Nullable VcsRepositoryModuleDescriptor getRepositoryModuleDescriptorByMavenScmKey(@NotNull String mavenScmKey, @NotNull String preferredPluginKey)
@Nullable Repository2VcsTypeConverter findConverterFor(@NotNull String pluginKey)
pluginKey
- key of an old plugin@Nullable Repository2VcsTypeConverter findReverseConverterFor(@NotNull String pluginKey)
pluginKey
- key of an new pluginCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.