Package com.atlassian.bamboo.vcs.module
Class VcsRepositoryManagerImpl
java.lang.Object
com.atlassian.bamboo.vcs.module.VcsRepositoryManagerImpl
- All Implemented Interfaces:
VcsRepositoryManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<VcsRepositoryModuleDescriptor>
Returns a list of available (i.e. installed and enabled)VcsRepositoryModuleDescriptor
objects.@NotNull List<VcsRepositoryModuleDescriptor>
Returns a list of available (i.e. installed and enabled)VcsRepositoryModuleDescriptor
objects representing repository plugins that do not requirePlan
during configuration.@Nullable VcsRepositoryModuleDescriptor
getRepositoryModuleDescriptorByMavenScmKey
(@NotNull String mavenScmKey, @NotNull String preferredPluginKey) @Nullable VcsRepositoryModuleDescriptor
getVcsRepositoryModuleDescriptor
(@NotNull String pluginKey) Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.vcs.module.VcsRepositoryManager
divergentBranchesEnabled, supportsDivergentBranches
-
Constructor Details
-
VcsRepositoryManagerImpl
public VcsRepositoryManagerImpl()
-
-
Method Details
-
getAvailableRepositoryDescriptors
Description copied from interface:VcsRepositoryManager
Returns a list of available (i.e. installed and enabled)VcsRepositoryModuleDescriptor
objects.- Specified by:
getAvailableRepositoryDescriptors
in interfaceVcsRepositoryManager
- Returns:
- Immutable list of
VcsRepositoryModuleDescriptor
sorted by weight. Empty list if none exists.
-
getAvailableStandaloneRepositoryDescriptors
@NotNull public @NotNull List<VcsRepositoryModuleDescriptor> getAvailableStandaloneRepositoryDescriptors()Description copied from interface:VcsRepositoryManager
Returns a list of available (i.e. installed and enabled)VcsRepositoryModuleDescriptor
objects representing repository plugins that do not requirePlan
during configuration. All plugins implemented with new API are "standalone" by definition.- Specified by:
getAvailableStandaloneRepositoryDescriptors
in interfaceVcsRepositoryManager
- Returns:
- Immutable list of
VcsRepositoryModuleDescriptor
sorted by weight. Empty list if none exists.
-
getVcsRepositoryModuleDescriptor
@Nullable public @Nullable VcsRepositoryModuleDescriptor getVcsRepositoryModuleDescriptor(@NotNull @NotNull String pluginKey) Description copied from interface:VcsRepositoryManager
Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.- Specified by:
getVcsRepositoryModuleDescriptor
in interfaceVcsRepositoryManager
- Parameters:
pluginKey
- plugin key
-
getRepositoryModuleDescriptorByMavenScmKey
@Nullable public @Nullable VcsRepositoryModuleDescriptor getRepositoryModuleDescriptorByMavenScmKey(@NotNull @NotNull String mavenScmKey, @NotNull @NotNull String preferredPluginKey) - Specified by:
getRepositoryModuleDescriptorByMavenScmKey
in interfaceVcsRepositoryManager
-