Interface VcsInformationService
- 
- All Superinterfaces:
 ServerExtension,TeamCityExtension
- All Known Implementing Classes:
 BitBucketVcsInformationService,GitHubVcsInformationService,GitLabVcsInfromationService
public interface VcsInformationService extends ServerExtension
VCS information manager uses implementations of this interface to create specific VCS information providers 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VcsInformationProvidercreateProvider(OAuthConnectionDescriptor connectionDescriptor, OAuthToken token)Creates a VCS information provider that corresponds to the connection typeStringgetVcsHostingType() 
 - 
 
- 
- 
Method Detail
- 
getVcsHostingType
@NotNull String getVcsHostingType()
- Returns:
 - The VCS hosting service type, the same value is returned by ConnectionProvider::getType
 
 
- 
createProvider
@NotNull VcsInformationProvider createProvider(@NotNull OAuthConnectionDescriptor connectionDescriptor, @NotNull OAuthToken token)
Creates a VCS information provider that corresponds to the connection type- 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
 
 
 - 
 
 -