Interface BuildTypeVcsRoots

  • All Known Subinterfaces:
    BuildTypeVcsRootsEx
    All Known Implementing Classes:
    BuildTypeVcsRootsImpl

    public interface BuildTypeVcsRoots
    Contains relations between buildTypes and VCS root instances. VCS root instance is related to buildType if at least one modification from the root instance is related to buildType.

    This object is append only, we don't remove any relations when a VCS root is detached from a buildType or when buildType is removed. So this object can say that buildType is related to a VCS root even if it is no longer true.

    The object be used for a fast check if modification is unrelated to buildType: if modification's VCS root is unrelated, then modification is also unrelated, if VCS root is related then modification's relations should be checked (it can still be unrelated e.g. due to checkout rules).

    • Method Detail

      • getRelatedRootIds

        @NotNull
        gnu.trove.set.hash.TLongHashSet getRelatedRootIds​(@NotNull
                                                          SBuildType buildType)
        Returns set of VCS root ids related to the given buildType. The result can contain ids of the VCS roots those changes were detached from the buildType. If the result doesn't contain a VCS root id then no changes from the root are related to buildType. If the result contains a VCS root id it is possible that all modifications from the root are detached from buildType, so modification's relations should be checked.
        Parameters:
        buildType - buildType of interest
        Returns:
        see above
      • getRelatedRootIds

        @NotNull
        gnu.trove.set.hash.TLongHashSet getRelatedRootIds​(@NotNull
                                                          String buildTypeId)
        Same as getRelatedRootIds(@NotNull SBuildType buildType) but with internal id.
        Parameters:
        buildTypeId -
        Returns: