Interface VcsRepositoryServiceProvider

    • Method Detail

      • isSupported

        <T extends VcsService> boolean isSupported​(@NotNull
                                                   Class<T> service)
        Type Parameters:
        T - type of server
        Parameters:
        service - service class
        Returns:
        true if this provider can in principle (without VcsSettings) provide the service
      • createService

        @Nullable
        <T extends VcsService> T createService​(@NotNull
                                               Class<T> service,
                                               @NotNull
                                               VcsSettings settings)
        Creates VcsService of given type with given VcsSettings
        Type Parameters:
        T - type of service
        Parameters:
        service - type of service to create
        settings - repository layout settings to use
        Returns:
        service if implemented by VCS plugin or null
        Throws:
        VcsException - on error