net.ggtools.grand.ant
Class SubantTaskLink
java.lang.Object
net.ggtools.grand.graph.AttributeManager
net.ggtools.grand.graph.LinkImpl
net.ggtools.grand.ant.AntLink
net.ggtools.grand.ant.AntTaskLink
net.ggtools.grand.ant.SubantTaskLink
- All Implemented Interfaces:
- GraphObject, Link
public class SubantTaskLink
- extends AntTaskLink
A link representing a call by a task such like subant.
Instances of this class may hold a list of directories. This list will be
used to create a link for the genericantfile version of
subant.
- Author:
- Christophe Labouisse
|
Method Summary |
void |
accept(LinkVisitor visitor)
Accepts a visitor. |
void |
addDirectory(java.lang.String newDir)
Add a directory to the list of directory used when applying the generic
ant file. |
java.util.Collection |
getDirectories()
Gets the list of directories to apply the generic ant file onto. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubantTaskLink
public SubantTaskLink(java.lang.String name,
Graph graph,
Node startNode,
Node endNode,
java.lang.String taskName)
- Parameters:
name - graph - startNode - endNode - taskName -
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 AntTaskLink
addDirectory
public void addDirectory(java.lang.String newDir)
- Add a directory to the list of directory used when applying the generic
ant file.
- Parameters:
newDir -
getDirectories
public java.util.Collection getDirectories()
- Gets the list of directories to apply the generic ant file onto.
- Returns:
- a read-only list of directories.
Copyright © 2004-2005 ggTools. All Rights Reserved.