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.TLongHashSet
getRelatedRootIds(String buildTypeId)
Same as getRelatedRootIds(@NotNull SBuildType buildType) but with internal id.gnu.trove.set.hash.TLongHashSet
getRelatedRootIds(SBuildType buildType)
Returns set of VCS root ids related to the given buildType.void
initRelated(Map<String,gnu.trove.set.hash.TLongHashSet> allBuildTypeVcsRoots)
void
setRelated(String buildTypeInternalId, VcsRootInstance root)
void
setRelated(SBuildType buildType, VcsRootInstance root)
-
-
-
Method Detail
-
setRelated
public void setRelated(@NotNull SBuildType buildType, @NotNull VcsRootInstance root)
- Specified by:
setRelated
in interfaceBuildTypeVcsRootsEx
-
setRelated
public void setRelated(@NotNull String buildTypeInternalId, @NotNull VcsRootInstance root)
- Specified by:
setRelated
in interfaceBuildTypeVcsRootsEx
-
initRelated
public void initRelated(@NotNull Map<String,gnu.trove.set.hash.TLongHashSet> allBuildTypeVcsRoots)
- Specified by:
initRelated
in interfaceBuildTypeVcsRootsEx
-
getRelatedRootIds
@NotNull public gnu.trove.set.hash.TLongHashSet getRelatedRootIds(@NotNull SBuildType buildType)
Description copied from interface:BuildTypeVcsRoots
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.- Specified by:
getRelatedRootIds
in 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:BuildTypeVcsRoots
Same as getRelatedRootIds(@NotNull SBuildType buildType) but with internal id.- Specified by:
getRelatedRootIds
in interfaceBuildTypeVcsRoots
- Returns:
-
-