Interface VcsInformationManager
-
- All Known Implementing Classes:
VcsInformationManagerImpl
public interface VcsInformationManager
VCS information manager is a factory for VCS hosting specific VCS information providers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VcsInformationProvider
createProvider(OAuthConnectionDescriptor connectionDescriptor, OAuthToken token)
Creates a VCS information provider that corresponds to the connection tyope
-
-
-
Method Detail
-
createProvider
@NotNull VcsInformationProvider createProvider(@NotNull OAuthConnectionDescriptor connectionDescriptor, @NotNull OAuthToken token)
Creates a VCS information provider that corresponds to the connection tyope- 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
-
-