Class VcsInformationManagerImpl

    • Constructor Detail

      • VcsInformationManagerImpl

        public VcsInformationManagerImpl​(@NotNull
                                         ExtensionsProvider extensions)
    • Method Detail

      • createProvider

        @NotNull
        public VcsInformationProvider createProvider​(@NotNull
                                                     OAuthConnectionDescriptor connectionDescriptor,
                                                     @NotNull
                                                     OAuthToken token)
        Description copied from interface: VcsInformationManager
        Creates a VCS information provider that corresponds to the connection tyope
        Specified by:
        createProvider in interface VcsInformationManager
        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