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: 883288 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.apache.commons.logging.Log log
dir
protected String dir
clusterCounter
protected int clusterCounter
extension
protected String extension
GraphGeneratorSupport
protected GraphGeneratorSupport(String dir,
String extension)
getRoutesText
public String getRoutesText(CamelContext context)
throws IOException
- Throws:
IOException
drawRoutes
public void drawRoutes(CamelContext context)
throws IOException
- Throws:
IOException
generateFile
protected abstract void generateFile(PrintWriter writer,
Map<String,List<RouteDefinition>> map)
isMulticastNode
protected boolean isMulticastNode(ProcessorDefinition node)
getLabel
protected String getLabel(List<ExpressionDefinition> expressions)
getLabel
protected String getLabel(ExpressionDefinition expression)
getNodeData
protected NodeData getNodeData(Object node)
createRouteGroupMap
protected Map<String,List<RouteDefinition>> createRouteGroupMap(List<RouteDefinition> routes)
addRouteToMap
protected void addRouteToMap(Map<String,List<RouteDefinition>> map,
RouteDefinition route)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.