Interface TopBuildDependencyGraph
-
- All Superinterfaces:
BuildDependencyGraph,DependencyGraph<BuildPromotion>,DependencyGraphEstimate
- All Known Implementing Classes:
TopBuildDependencyGraphImpl
public interface TopBuildDependencyGraph extends BuildDependencyGraph
Represents the whole dependency graph (created on the topmost node)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancollectChangesForGraph(CancelableTaskHolder cancelableTaskHolder)Collects changes for the whole graph.Collection<SBuildType>getBuildTypes()Get all buildTypes in the graphbooleanisChangeCollectingNeeded()Returns true if changes collecting is not performed for this graphbooleanisEquivalentPartOf(BuildDependencyGraph otherGraph)Returns true if this graph is equivalent to a part of the specified graphvoidreplaceNode(BuildPromotionEx original, BuildPromotionEx newNode)Replaces a node in the graph with specified new node.-
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.BuildDependencyGraph
getStatus, getTop, inaccessibleNodesExist
-
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.DependencyGraph
contains, getNodes, getNodesMap, getNumberOfNodes, traverseBottomUp, traverseTopDown
-
Methods inherited from interface jetbrains.buildServer.serverSide.dependency.DependencyGraphEstimate
getCompletedPercent, getDurationOvertime, getEstimationForTimeLeft, getStartedDate, getTimePassed
-
-
-
-
Method Detail
-
isEquivalentPartOf
boolean isEquivalentPartOf(@NotNull BuildDependencyGraph otherGraph)Returns true if this graph is equivalent to a part of the specified graph- Parameters:
otherGraph- other graph- Returns:
- see above
-
isChangeCollectingNeeded
boolean isChangeCollectingNeeded()
Returns true if changes collecting is not performed for this graph- Returns:
- see above
-
collectChangesForGraph
boolean collectChangesForGraph(@NotNull CancelableTaskHolder cancelableTaskHolder)Collects changes for the whole graph.- Parameters:
cancelableTaskHolder- task holder (allows to interrupt changes collecting)- Returns:
- true if changes were successfully collected
-
replaceNode
void replaceNode(@NotNull BuildPromotionEx original, @NotNull BuildPromotionEx newNode)Replaces a node in the graph with specified new node.- Parameters:
original- old nodenewNode- new node
-
getBuildTypes
@NotNull Collection<SBuildType> getBuildTypes()
Get all buildTypes in the graph- Returns:
- see above
- Since:
- 6.0
-
-