public interface IDynamicGraph<T>
ISuite
or an ITestNGMethod
object which are
usually the logical units of work that TestNG deals with.Modifier and Type | Interface and Description |
---|---|
static class |
IDynamicGraph.Status |
Modifier and Type | Method and 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) |
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() |
boolean addNode(T node)
void setVisualisers(java.util.Set<IExecutionVisualiser> listener)
java.util.List<T> getFreeNodes()
void setStatus(java.util.Collection<T> nodes, IDynamicGraph.Status status)
void setStatus(T node, IDynamicGraph.Status status)
int getNodeCount()
int getNodeCountWithStatus(IDynamicGraph.Status status)
java.util.Set<T> getNodesWithStatus(IDynamicGraph.Status status)
java.lang.String toDot()