Interface DependencyGraph<T>

    • Method Detail

      • traverseBottomUp

        void traverseBottomUp​(@NotNull
                              ItemProcessor<T> nodesProcessor)
        Traverse dependency graph from bottom to top
        Parameters:
        nodesProcessor - item processor
      • traverseTopDown

        void traverseTopDown​(@NotNull
                             ItemProcessor<T> nodesProcessor)
        Traverse dependency graph from top to bottom
        Parameters:
        nodesProcessor - item processor
      • getNumberOfNodes

        int getNumberOfNodes()
        Returns number of nodes in this graph.
        Returns:
        number of nodes in this graph.
      • getTop

        T getTop()
        Returns top node of the graph.
        Returns:
        the graph top node.
      • contains

        boolean contains​(@NotNull
                         T node)
        Returns true if node is part of this graph.
        Parameters:
        node - graph node
        Returns:
        see above
        Since:
        6.0
      • getNodes

        @NotNull
        Collection<T> getNodes()
        Returns:
        all of the graph nodes, including the top node itself
      • getNodesMap

        @NotNull
        Map<String,​T> getNodesMap()
        Returns:
        map of all of the graph nodes, where key is id of build configuration