Package org.eclipse.jetty.deploy.graph
Class GraphOutputDot
- java.lang.Object
-
- org.eclipse.jetty.deploy.graph.GraphOutputDot
-
public class GraphOutputDot extends java.lang.ObjectOutput the Graph in GraphViz Dot format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classGraphOutputDot.TopNodeSortComparator that makes the 'undeployed' node the first node in the sort list.
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringTOPNODE
-
Constructor Summary
Constructors Modifier Constructor Description privateGraphOutputDot()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.CharSequencetoId(Node node)static voidwrite(Graph graph, java.io.File outputFile)private static voidwriteEdge(java.io.PrintWriter out, Edge edge)private static voidwriteEdgeDefaults(java.io.PrintWriter out)private static voidwriteGraphDefaults(java.io.PrintWriter out)private static voidwriteNode(java.io.PrintWriter out, Node node)private static voidwriteNodeDefaults(java.io.PrintWriter out)
-
-
-
Field Detail
-
TOPNODE
private static final java.lang.String TOPNODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
write
public static void write(Graph graph, java.io.File outputFile) throws java.io.IOException
- Throws:
java.io.IOException
-
writeEdge
private static void writeEdge(java.io.PrintWriter out, Edge edge)
-
writeNode
private static void writeNode(java.io.PrintWriter out, Node node)
-
toId
private static java.lang.CharSequence toId(Node node)
-
writeEdgeDefaults
private static void writeEdgeDefaults(java.io.PrintWriter out)
-
writeGraphDefaults
private static void writeGraphDefaults(java.io.PrintWriter out)
-
writeNodeDefaults
private static void writeNodeDefaults(java.io.PrintWriter out)
-
-