Class BuildTypeDependencyGraphImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.dependency.BuildTypeDependencyGraphImpl
-
- All Implemented Interfaces:
BuildTypeDependencyGraph,DependencyGraph<SBuildType>
public class BuildTypeDependencyGraphImpl extends Object implements BuildTypeDependencyGraph
-
-
Constructor Summary
Constructors Constructor Description BuildTypeDependencyGraphImpl(BuildTypeEx topBuildType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(SBuildType node)Returns true if node is part of this graph.Collection<SBuildType>getNodes()Map<String,SBuildType>getNodesMap()intgetNumberOfNodes()Returns number of nodes in this graph.SBuildTypegetTop()Returns top node of the graph.booleaninaccessibleNodesExist()voidtraverseBottomUp(ItemProcessor<SBuildType> itemProcessor)Traverse dependency graph from bottom to topvoidtraverseTopDown(ItemProcessor<SBuildType> itemProcessor)Traverse dependency graph from top to bottom
-
-
-
Constructor Detail
-
BuildTypeDependencyGraphImpl
public BuildTypeDependencyGraphImpl(@NotNull BuildTypeEx topBuildType)
-
-
Method Detail
-
traverseBottomUp
public void traverseBottomUp(@NotNull ItemProcessor<SBuildType> itemProcessor)Description copied from interface:DependencyGraphTraverse dependency graph from bottom to top- Specified by:
traverseBottomUpin interfaceDependencyGraph<SBuildType>- Parameters:
itemProcessor- item processor
-
traverseTopDown
public void traverseTopDown(@NotNull ItemProcessor<SBuildType> itemProcessor)Description copied from interface:DependencyGraphTraverse dependency graph from top to bottom- Specified by:
traverseTopDownin interfaceDependencyGraph<SBuildType>- Parameters:
itemProcessor- item processor
-
getNumberOfNodes
public int getNumberOfNodes()
Description copied from interface:DependencyGraphReturns number of nodes in this graph.- Specified by:
getNumberOfNodesin interfaceDependencyGraph<SBuildType>- Returns:
- number of nodes in this graph.
-
getTop
@NotNull public SBuildType getTop()
Description copied from interface:DependencyGraphReturns top node of the graph.- Specified by:
getTopin interfaceDependencyGraph<SBuildType>- Returns:
- the graph top node.
-
contains
public boolean contains(@NotNull SBuildType node)Description copied from interface:DependencyGraphReturns true if node is part of this graph.- Specified by:
containsin interfaceDependencyGraph<SBuildType>- Parameters:
node- graph node- Returns:
- see above
-
getNodes
@NotNull public Collection<SBuildType> getNodes()
- Specified by:
getNodesin interfaceDependencyGraph<SBuildType>- Returns:
- all of the graph nodes, including the top node itself
-
getNodesMap
@NotNull public Map<String,SBuildType> getNodesMap()
- Specified by:
getNodesMapin interfaceDependencyGraph<SBuildType>- Returns:
- map of all of the graph nodes, where key is id of build configuration
-
inaccessibleNodesExist
public boolean inaccessibleNodesExist()
- Specified by:
inaccessibleNodesExistin interfaceBuildTypeDependencyGraph- Returns:
- true if inaccessible nodes exist
-
-