Class VcsSettingsBeanImpl

    • Method Detail

      • getVcsBrowser

        @Nullable
        public Browser getVcsBrowser​(boolean dirsOnly,
                                     @Nullable
                                     String vcsRootId)
        Specified by:
        getVcsBrowser in class VcsSettingsBean
        Parameters:
        dirsOnly - if true, directory-only browser will be returned
        vcsRootId - external id of VCS root, if not null then VCS browser is created for this VCS root only (checkout rules are ignored)
        Returns:
        VCS browser if this VCS roots are attached to this bean and listing of files is supported by attached VCS roots, otherwise returns null
      • getChildDependenciesVcsRoots

        @NotNull
        public List<VcsSettingsBeanImpl.BuildTypeVcsRoots> getChildDependenciesVcsRoots()
        Collect VCS roots attached to child dependencies (including transitive dependencies) of this build type. Note that build type own vcs roots are not included. Duplicated VCS roots that are attached to the several dependencies are returned only once - for the dependency nearest to the top of build chain.
        Returns:
        list of build types with vcs roots attached to them. This list is sorted by distance from the root of the build chain