Package jetbrains.buildServer.vcs.impl
Class BuildTypeVcsRootsImpl
- java.lang.Object
-
- jetbrains.buildServer.vcs.impl.BuildTypeVcsRootsImpl
-
- All Implemented Interfaces:
BuildTypeVcsRoots,BuildTypeVcsRootsEx
public class BuildTypeVcsRootsImpl extends Object implements BuildTypeVcsRootsEx
-
-
Constructor Summary
Constructors Constructor Description BuildTypeVcsRootsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description gnu.trove.set.hash.TLongHashSetgetRelatedRootIds(String buildTypeId)Same as getRelatedRootIds(@NotNull SBuildType buildType) but with internal id.gnu.trove.set.hash.TLongHashSetgetRelatedRootIds(SBuildType buildType)Returns set of VCS root ids related to the given buildType.voidinitRelated(Map<String,gnu.trove.set.hash.TLongHashSet> allBuildTypeVcsRoots)voidsetRelated(String buildTypeInternalId, VcsRootInstance root)voidsetRelated(SBuildType buildType, VcsRootInstance root)
-
-
-
Method Detail
-
setRelated
public void setRelated(@NotNull SBuildType buildType, @NotNull VcsRootInstance root)- Specified by:
setRelatedin interfaceBuildTypeVcsRootsEx
-
setRelated
public void setRelated(@NotNull String buildTypeInternalId, @NotNull VcsRootInstance root)- Specified by:
setRelatedin interfaceBuildTypeVcsRootsEx
-
initRelated
public void initRelated(@NotNull Map<String,gnu.trove.set.hash.TLongHashSet> allBuildTypeVcsRoots)- Specified by:
initRelatedin interfaceBuildTypeVcsRootsEx
-
getRelatedRootIds
@NotNull public gnu.trove.set.hash.TLongHashSet getRelatedRootIds(@NotNull SBuildType buildType)Description copied from interface:BuildTypeVcsRootsReturns 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.- Specified by:
getRelatedRootIdsin interfaceBuildTypeVcsRoots- Parameters:
buildType- buildType of interest- Returns:
- see above
-
getRelatedRootIds
@NotNull public gnu.trove.set.hash.TLongHashSet getRelatedRootIds(@NotNull String buildTypeId)Description copied from interface:BuildTypeVcsRootsSame as getRelatedRootIds(@NotNull SBuildType buildType) but with internal id.- Specified by:
getRelatedRootIdsin interfaceBuildTypeVcsRoots- Returns:
-
-