Class InterceptableVcsServiceFactory

    • Method Detail

      • getVcsService

        @Nullable
        public <T extends VcsService> T getVcsService​(@NotNull
                                                      VcsSettings settings,
                                                      @NotNull
                                                      Class<T> serviceClass)
        Description copied from interface: VcsServiceProvider
        Fetches a repository layout service of given type by given settings. Null will be returned if service is not implemented
        Specified by:
        getVcsService in interface VcsServiceProvider
        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
      • getGenericService

        @Nullable
        public <T extends VcsGenericService> T getGenericService​(@NotNull
                                                                 String vcsName,
                                                                 @NotNull
                                                                 Class<T> serviceClass)
        Description copied from interface: VcsServiceProvider
        Fetches a global vcs-related service for a given Vcs plugins
        Specified by:
        getGenericService in interface VcsServiceProvider
        serviceClass - type of service to fetch
        Returns:
        service or null if service not supported