Interface VcsInformationService

    • 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 descriptor
        token - permanent or refreshable token to be used by the provider for querying VCS hosting services
        Returns:
        provider instance