org.apache.camel.view
Class GraphSupport
java.lang.Object
org.apache.camel.view.GraphSupport
- Direct Known Subclasses:
- GraphGeneratorSupport
public class GraphSupport
- extends Object
A base class for Graph processing code of Camel EIPs containing a number of helper methods
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.slf4j.Logger log
nodeMap
protected final Map<Object,NodeData> nodeMap
GraphSupport
public GraphSupport()
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)
isMulticastNode
protected boolean isMulticastNode(ProcessorDefinition<?> node)
isPipeline
protected boolean isPipeline(ProcessorDefinition<?> node)
- Is the given node a pipeline
getImagePrefix
public String getImagePrefix()
setImagePrefix
public void setImagePrefix(String imagePrefix)
Apache CAMEL