Package net.ggtools.grand.ant
Class AntGraph
- java.lang.Object
-
- net.ggtools.grand.graph.GraphImpl
-
- net.ggtools.grand.ant.AntGraph
-
-
Constructor Summary
Constructors Constructor Description AntGraph(org.apache.tools.ant.Project project)
Creates a new graph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubantTaskLink
createSubantTaskLink(String linkName, Node startNode, Node endNode, String taskName)
Creates a link representing a call by asubant
task.AntTaskLink
createTaskLink(String linkName, Node startNode, Node endNode, String taskName)
Creates a link representing a call by a task likeant
.protected GraphElementFactory
getFactory()
Method getFactory.org.apache.tools.ant.Project
getProject()
Returns the project.-
Methods inherited from class net.ggtools.grand.graph.GraphImpl
createLink, createNode, createNode, createSubGraph, getName, getNode, getNodes, getStartNode, getSubGraph, getSubgraphs, hasNode, hasSubGraph, setStartNode, unlinkNode
-
-
-
-
Method Detail
-
createTaskLink
public final AntTaskLink createTaskLink(String linkName, Node startNode, Node endNode, String taskName)
Creates a link representing a call by a task likeant
.- Parameters:
linkName
- StringstartNode
- NodeendNode
- NodetaskName
- String- Returns:
- AntTaskLink
-
createSubantTaskLink
public final SubantTaskLink createSubantTaskLink(String linkName, Node startNode, Node endNode, String taskName)
Creates a link representing a call by asubant
task.- Parameters:
linkName
- StringstartNode
- NodeendNode
- NodetaskName
- String- Returns:
- SubantTaskLink
-
getProject
public final org.apache.tools.ant.Project getProject()
Returns the project.- Returns:
- Project
-
getFactory
protected final GraphElementFactory getFactory()
Method getFactory.- Overrides:
getFactory
in classGraphImpl
- Returns:
- GraphElementFactory
- See Also:
GraphImpl.getFactory()
-
-