org.apache.camel.view
Class GraphGeneratorSupport
java.lang.Object
org.apache.camel.view.GraphGeneratorSupport
- Direct Known Subclasses:
- RouteDotGenerator, XmlGraphGenerator
public abstract class GraphGeneratorSupport
- extends Object
- Version:
- $Revision: 36321 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dir
protected String dir
clusterCounter
protected int clusterCounter
extension
protected String extension
GraphGeneratorSupport
protected GraphGeneratorSupport(String dir,
String extension)
getDir
public String getDir()
setDir
public void setDir(String dir)
- Sets the destination directory in which to create the diagrams
drawRoutes
public void drawRoutes(CamelContext context)
throws IOException
- Throws:
IOException
generateFile
protected abstract void generateFile(PrintWriter writer,
Map<String,List<RouteType>> map)
isMulticastNode
protected boolean isMulticastNode(ProcessorType node)
getLabel
protected String getLabel(List<ExpressionType> expressions)
getLabel
protected String getLabel(ExpressionType expression)
getNodeData
protected NodeData getNodeData(Object node)
createRouteGroupMap
protected Map<String,List<RouteType>> createRouteGroupMap(List<RouteType> routes)
Copyright © 2008 IONA Open Source Community. All Rights Reserved.