Class BitBucketVcsInformationService
- java.lang.Object
 - 
- jetbrains.buildServer.vcshostings.bbcloud.BitBucketVcsInformationService
 
 
- 
- All Implemented Interfaces:
 ServerExtension,TeamCityExtension,VcsInformationService
public class BitBucketVcsInformationService extends Object implements VcsInformationService
 
- 
- 
Constructor Summary
Constructors Constructor Description BitBucketVcsInformationService(BitbucketClient client) 
- 
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
- 
BitBucketVcsInformationService
public BitBucketVcsInformationService(BitbucketClient client)
 
 - 
 
- 
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
 
 
 - 
 
 -