Interface SVcsRootUsages

    • Method Detail

      • getProject

        @NotNull
        SProject getProject()
        Returns:
        project this VCS root belongs to
        Since:
        8.0
      • getScope

        @NotNull
        VcsRootScope getScope()
        Returns scope of this VCS root
        Returns:
        scope of this VCS root
      • getUsagesInConfigurations

        @NotNull
        List<SBuildType> getUsagesInConfigurations()
        Returns:
        All configurations where this VCS Root is used (excluding VCS settings usages). Works faster than getUsages()
        Since:
        10.0
      • getNumberOfUsagesInProjects

        int getNumberOfUsagesInProjects()
        Returns:
        number of projects using this VCS root in their templates or configurations.
        Since:
        8.0
      • isUsedInProjects

        boolean isUsedInProjects()
        Returns:
        true if getNumberOfUsagesInProjects() is positive, but works faster because it does not count all of the usages
        Since:
        2021.1
      • getUsagesInProjects

        @NotNull
        Collection<SProject> getUsagesInProjects()
        Returns:
        projects using this VCS root in their templates or configurations.
        Since:
        8.0