Package org.testng

Interface IDynamicGraph<T>


  • public interface IDynamicGraph<T>
    Represents the graphical representative capabilities of an entity. The entities could be either a ISuite or an ITestNGMethod object which are usually the logical units of work that TestNG deals with.
    • Method Detail

      • addNode

        boolean addNode​(T node)
      • addEdge

        void addEdge​(int weight,
                     T from,
                     T to)
      • addEdges

        void addEdges​(int weight,
                      T from,
                      java.lang.Iterable<T> tos)
      • getFreeNodes

        java.util.List<T> getFreeNodes()
      • getUpstreamDependenciesFor

        default java.util.List<T> getUpstreamDependenciesFor​(T node)
      • getDependenciesFor

        java.util.List<T> getDependenciesFor​(T node)
      • getNodeCount

        int getNodeCount()
      • toDot

        java.lang.String toDot()