Class VcsSettingsBean

  • Direct Known Subclasses:
    VcsSettingsBeanImpl

    public abstract class VcsSettingsBean
    extends Object
    This bean contains build configuration VCS settings.
    • Constructor Detail

      • VcsSettingsBean

        public VcsSettingsBean​(@NotNull
                               SProject project,
                               @NotNull
                               BuildTypeSettings buildTypeSettings,
                               @NotNull
                               VcsManager vcsManager,
                               @NotNull
                               ProjectManager projectManager)
        Constructor for existing build configuration.
        Parameters:
        project - current project
        buildTypeSettings - build configuration settings
        vcsManager - VCS manager
    • Method Detail

      • isShowInefficientCheckoutRulesWarning

        public boolean isShowInefficientCheckoutRulesWarning()
      • isShowIncludeRulesIntersectWarning

        public boolean isShowIncludeRulesIntersectWarning()
      • getVcsRootsWithLabelingSupport

        @NotNull
        public List<SVcsRoot> getVcsRootsWithLabelingSupport()
      • supportsLabeling

        protected abstract boolean supportsLabeling​(SVcsRoot root)
      • isDefaultExcluded

        public abstract boolean isDefaultExcluded()
      • getAttachableVcsRoots

        @NotNull
        public List<SVcsRoot> getAttachableVcsRoots()
      • getPopularVcsRoots

        @NotNull
        public List<SVcsRoot> getPopularVcsRoots()
      • addVcsRoot

        public void addVcsRoot​(SVcsRoot vcsRoot)
      • getAvailableCheckoutTypes

        public List<String> getAvailableCheckoutTypes()
      • getVcsRootsCollection

        public List<VcsRoot> getVcsRootsCollection()
      • getCheckoutType

        public String getCheckoutType()
      • getCheckoutDir

        public String getCheckoutDir()
      • getCheckoutTypeDescription

        public Map<String,​String> getCheckoutTypeDescription()
      • getOwnerProject

        public SProject getOwnerProject()
      • getVcsBrowser

        @Nullable
        public abstract Browser getVcsBrowser​(boolean dirsOnly,
                                              @Nullable
                                              String vcsRootId)
        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
      • isVcsBrowsingPossible

        public boolean isVcsBrowsingPossible()