org.apache.maven.diagrams.connectors.classes.edge_source
Class ImplementEdgeSource

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.diagrams.connectors.classes.edge_source.AbstractEdgeSource
          extended by org.apache.maven.diagrams.connectors.classes.edge_source.ImplementEdgeSource
All Implemented Interfaces:
EdgeSource, org.codehaus.plexus.logging.LogEnabled

public class ImplementEdgeSource
extends AbstractEdgeSource


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.maven.diagrams.connectors.classes.edge_source.AbstractEdgeSource
AbstractEdgeSource.AddNodeStatus
 
Field Summary
 
Fields inherited from interface org.apache.maven.diagrams.connectors.classes.edge_source.EdgeSource
ROLE
 
Constructor Summary
ImplementEdgeSource()
           
 
Method Summary
protected  AbstractEdgeSource.AddNodeStatus canAddNode(ClassNode node)
          The method obtains information what can be done with the given node (if it should be added to the graph or skipped (with all without its dependencies))
protected  java.util.List<ClassEdge> createOutgoingEdges(ClassNode sourceNode)
          Implementation of this method should prepare list of outgoing edges from the given node.
 
Methods inherited from class org.apache.maven.diagrams.connectors.classes.edge_source.AbstractEdgeSource
calculateEdges, configure, getClassNodesRepository, getConfiguration, getFilterRepository
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementEdgeSource

public ImplementEdgeSource()
Method Detail

createOutgoingEdges

protected java.util.List<ClassEdge> createOutgoingEdges(ClassNode sourceNode)
Description copied from class: AbstractEdgeSource
Implementation of this method should prepare list of outgoing edges from the given node. The method shouldn't check if the target node already exists in the graph. The calculate edges method will check that depending on results of canAddNode method. The implementation can call

Specified by:
createOutgoingEdges in class AbstractEdgeSource
Parameters:
sourceNode - - node from that we need edges.
Returns:

canAddNode

protected AbstractEdgeSource.AddNodeStatus canAddNode(ClassNode node)
Description copied from class: AbstractEdgeSource
The method obtains information what can be done with the given node (if it should be added to the graph or skipped (with all without its dependencies))

Specified by:
canAddNode in class AbstractEdgeSource
Returns:


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.