Class GitLabVcsInfromationService
- java.lang.Object
 - 
- jetbrains.buildServer.vcshostings.gitlab.GitLabVcsInfromationService
 
 
- 
- All Implemented Interfaces:
 ServerExtension,TeamCityExtension,VcsInformationService
public class GitLabVcsInfromationService extends Object implements VcsInformationService
 
- 
- 
Constructor Summary
Constructors Constructor Description GitLabVcsInfromationService(GitLabClientFactory clientFactory) 
- 
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 typeStringgetVcsHostingType() 
 - 
 
- 
- 
Constructor Detail
- 
GitLabVcsInfromationService
public GitLabVcsInfromationService(GitLabClientFactory clientFactory)
 
 - 
 
- 
Method Detail
- 
getVcsHostingType
@NotNull public String getVcsHostingType()
- Specified by:
 getVcsHostingTypein interfaceVcsInformationService- Returns:
 - The VCS hosting service type, the same value is returned by ConnectionProvider::getType
 
 
- 
createProvider
@NotNull public VcsInformationProvider createProvider(@NotNull OAuthConnectionDescriptor connectionDescriptor, @NotNull OAuthToken token)
Description copied from interface:VcsInformationServiceCreates a VCS information provider that corresponds to the connection type- Specified by:
 createProviderin interfaceVcsInformationService- 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
 
 
 - 
 
 -