public class StormGraphCreator extends Object
DirectedGraph
instances from StormTopology
instancesModifier and Type | Class and Description |
---|---|
class |
StormGraphCreator.NamedNode
A name and type node
|
static interface |
StormGraphCreator.NamingStrategy |
Modifier and Type | Method and Description |
---|---|
static org.jgrapht.graph.ListenableDirectedGraph<StormGraphCreator.NamedNode,org.jgrapht.graph.DefaultEdge> |
asGraph(backtype.storm.generated.StormTopology t) |
static org.jgrapht.graph.ListenableDirectedGraph<StormGraphCreator.NamedNode,org.jgrapht.graph.DefaultEdge> |
asGraph(backtype.storm.generated.StormTopology t,
StormGraphCreator.NamingStrategy strat) |
public static org.jgrapht.graph.ListenableDirectedGraph<StormGraphCreator.NamedNode,org.jgrapht.graph.DefaultEdge> asGraph(backtype.storm.generated.StormTopology t)
t
- StormTopology
to graphListenableDirectedGraph
usable with JGraphpublic static org.jgrapht.graph.ListenableDirectedGraph<StormGraphCreator.NamedNode,org.jgrapht.graph.DefaultEdge> asGraph(backtype.storm.generated.StormTopology t, StormGraphCreator.NamingStrategy strat)
t
- StormTopology
to graphstrat
- the naming strategyListenableDirectedGraph
usable with JGraph