net.ggtools.grand.ant
Class AntLink

java.lang.Object
  extended by net.ggtools.grand.graph.AttributeManager
      extended by net.ggtools.grand.graph.LinkImpl
          extended by net.ggtools.grand.ant.AntLink
All Implemented Interfaces:
GraphObject, Link
Direct Known Subclasses:
AntTaskLink

public class AntLink
extends LinkImpl

A basic (i.e. dependency) link in ant build file.

Author:
Christophe Labouisse

Field Summary
 
Fields inherited from interface net.ggtools.grand.graph.Link
ATTR_CONDITIONAL_LINK, ATTR_WEAK_LINK
 
Fields inherited from interface net.ggtools.grand.graph.GraphObject
ATTR_ALL, ATTR_NONE
 
Constructor Summary
AntLink(java.lang.String name, Graph graph, Node startNode, Node endNode)
          Creates a new link.
 
Method Summary
 void accept(LinkVisitor visitor)
          Accepts a visitor.
 
Methods inherited from class net.ggtools.grand.graph.LinkImpl
getEndNode, getGraph, getName, getStartNode, toString
 
Methods inherited from class net.ggtools.grand.graph.AttributeManager
clearAttributes, getAttributes, hasAttributes, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.ggtools.grand.graph.GraphObject
clearAttributes, getAttributes, hasAttributes, setAttributes
 

Constructor Detail

AntLink

public AntLink(java.lang.String name,
               Graph graph,
               Node startNode,
               Node endNode)
Creates a new link.

Parameters:
name -
graph -
startNode -
endNode -
Method Detail

accept

public void accept(LinkVisitor visitor)
Description copied from interface: Link
Accepts a visitor. The implementation must call the appropriate visitLink method.

Specified by:
accept in interface Link
Overrides:
accept in class LinkImpl


Copyright © 2004-2005 ggTools. All Rights Reserved.