Package org.testng
Interface IDynamicGraph<T>
-
public interface IDynamicGraph<T>
Represents the graphical representative capabilities of an entity. The entities could be either aISuite
or anITestNGMethod
object which are usually the logical units of work that TestNG deals with.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IDynamicGraph.Status
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addEdge(int weight, T from, T to)
void
addEdges(int weight, T from, java.lang.Iterable<T> tos)
boolean
addNode(T node)
java.util.List<T>
getDependenciesFor(T node)
java.util.List<T>
getFreeNodes()
int
getNodeCount()
int
getNodeCountWithStatus(IDynamicGraph.Status status)
java.util.Set<T>
getNodesWithStatus(IDynamicGraph.Status status)
default java.util.List<T>
getUpstreamDependenciesFor(T node)
void
setStatus(java.util.Collection<T> nodes, IDynamicGraph.Status status)
void
setStatus(T node, IDynamicGraph.Status status)
void
setVisualisers(java.util.Set<IExecutionVisualiser> listener)
java.lang.String
toDot()
-
-
-
Method Detail
-
addNode
boolean addNode(T node)
-
setVisualisers
void setVisualisers(java.util.Set<IExecutionVisualiser> listener)
-
getFreeNodes
java.util.List<T> getFreeNodes()
-
setStatus
void setStatus(java.util.Collection<T> nodes, IDynamicGraph.Status status)
-
setStatus
void setStatus(T node, IDynamicGraph.Status status)
-
getNodeCount
int getNodeCount()
-
getNodeCountWithStatus
int getNodeCountWithStatus(IDynamicGraph.Status status)
-
getNodesWithStatus
java.util.Set<T> getNodesWithStatus(IDynamicGraph.Status status)
-
toDot
java.lang.String toDot()
-
-