Interface VcsInformationManager

  • All Known Implementing Classes:
    VcsInformationManagerImpl

    public interface VcsInformationManager
    VCS information manager is a factory for VCS hosting specific VCS information providers
    • 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 descriptor
        token - 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