Interface BuildDependencyGraph
-
- All Superinterfaces:
DependencyGraph<BuildPromotion>
,DependencyGraphEstimate
- All Known Subinterfaces:
TopBuildDependencyGraph
- All Known Implementing Classes:
BuildDependencyGraphImpl
,TopBuildDependencyGraphImpl
public interface BuildDependencyGraph extends DependencyGraph<BuildPromotion>, DependencyGraphEstimate
Represents build dependency graph or a part of the graph depending on how this graph was obtained. The graph can be obtained with help ofBuildPromotionEx.getDependencyGraph()
. If this build promotion is not the top of the graph then only the part of the graph is returned. Only the part of the graph can also be returned if current user does not have access rights to some nodes of the graph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Status
getStatus()
BuildPromotionEx
getTop()
Returns top node of the graph.boolean
inaccessibleNodesExist()
Returns true if there are inaccessible (by current user permissions) nodes that were not included into this graph.-
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
-
inaccessibleNodesExist
boolean inaccessibleNodesExist()
Returns true if there are inaccessible (by current user permissions) nodes that were not included into this graph.- Returns:
- see above
-
getTop
BuildPromotionEx getTop()
Returns top node of the graph.- Specified by:
getTop
in interfaceDependencyGraph<BuildPromotion>
- Returns:
- the graph top node.
-
getStatus
@NotNull Status getStatus()
- Returns:
- current status of the top build promotion computed by taking into account all build promotions participating in dependency graph.
If there are no builds associated with graph build promotions, the status is unknown.
If there are failing dependencies, then status of the top promotion is determined by dependency options.
For instance if dependency fails, but dependent build has continuation option:
DependencyOptions.BuildContinuationMode.RUN
then dependent build won't be considered as failing. - Since:
- 2017.1
-
-