Interface VcsServiceProvider

    • Method Detail

      • getVcsService

        @Nullable
        <T extends VcsService> T getVcsService​(@NotNull
                                               VcsSettings settings,
                                               @NotNull
                                               Class<T> serviceClass)
        Fetches a repository layout service of given type by given settings. Null will be returned if service is not implemented
        Type Parameters:
        T - type of service
        Parameters:
        settings - RepositoryLayout settings description
        serviceClass - type of service
        Returns:
        RepositoryLayout service for a given settings and service class
        Since:
        TC 8.0
      • getGenericService

        @Nullable
        <T extends VcsGenericService> T getGenericService​(@NotNull
                                                          String vcsName,
                                                          @NotNull
                                                          Class<T> serviceClass)
        Fetches a global vcs-related service for a given Vcs plugins
        Parameters:
        serviceClass - type of service to fetch
        Returns:
        service or null if service not supported
        Since:
        TC 8.0