public class DependencyEdgeFactory extends Object implements DependencyEdge.Factory<String,DependencyEdge<String>>
DependencyEdge.Factory. Uses a
DependencyEdgeFactory.GraphvizEdgeAdaptor to delegate to a GraphvizEdge.| Modifier and Type | Class and Description |
|---|---|
protected class |
DependencyEdgeFactory.GraphvizEdgeAdaptor
Adaptor class that converts
DependencyEdge methods to display
operations on a GraphvizEdge. |
| Constructor and Description |
|---|
DependencyEdgeFactory(GraphvizRenderer renderer,
PortIdFactory portIdFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected DependencyEdgeFactory.GraphvizEdgeAdaptor |
newAdaptor(GraphvizEdge edge) |
DependencyEdge<String> |
newDependencyEdge(String fromId,
InjectionPoint fromPoint,
String toId)
Creates a new
DependencyEdge and adds it to the graph. |
@Inject public DependencyEdgeFactory(GraphvizRenderer renderer, PortIdFactory portIdFactory)
public DependencyEdge<String> newDependencyEdge(String fromId, InjectionPoint fromPoint, String toId)
DependencyEdge.FactoryDependencyEdge and adds it to the graph.newDependencyEdge in interface DependencyEdge.Factory<String,DependencyEdge<String>>fromId - The ID for the class or instance node that has the
dependency.fromPoint - The point where the dependency will be
@Injected.toId - The ID for the interface node that satisfies the dependency.protected DependencyEdgeFactory.GraphvizEdgeAdaptor newAdaptor(GraphvizEdge edge)
Copyright © 2006-2012 Google, Inc.. All Rights Reserved.