Class BitBucketVcsInformationService

    • Constructor Detail

      • BitBucketVcsInformationService

        public BitBucketVcsInformationService​(BitbucketClient client)
    • Method Detail

      • getVcsHostingType

        @NotNull
        public String getVcsHostingType()
        Specified by:
        getVcsHostingType in interface VcsInformationService
        Returns:
        The VCS hosting service type, the same value is returned by ConnectionProvider::getType
      • createProvider

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