Class VcsInformationManagerImpl
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.VcsInformationManagerImpl
-
- All Implemented Interfaces:
VcsInformationManager
public class VcsInformationManagerImpl extends Object implements VcsInformationManager
-
-
Constructor Summary
Constructors Constructor Description VcsInformationManagerImpl(ExtensionsProvider extensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcsInformationProvidercreateProvider(OAuthConnectionDescriptor connectionDescriptor, OAuthToken token)Creates a VCS information provider that corresponds to the connection tyope
-
-
-
Constructor Detail
-
VcsInformationManagerImpl
public VcsInformationManagerImpl(@NotNull ExtensionsProvider extensions)
-
-
Method Detail
-
createProvider
@NotNull public VcsInformationProvider createProvider(@NotNull OAuthConnectionDescriptor connectionDescriptor, @NotNull OAuthToken token)
Description copied from interface:VcsInformationManagerCreates a VCS information provider that corresponds to the connection tyope- Specified by:
createProviderin interfaceVcsInformationManager- Parameters:
connectionDescriptor- OAuth/GitHub App/etc connection descriptortoken- permanent or refreshable token to be used by the provider for querying VCS hosting services- Returns:
- provider instance. If connection descriptor is not supported, the resulting provider's getCapabilities method will return an empty enum set
-
-