Class AntGraph

  • All Implemented Interfaces:
    Graph

    public class AntGraph
    extends GraphImpl
    A Graph implementation specialized in Ant build files.
    Author:
    Christophe Labouisse
    • Constructor Detail

      • AntGraph

        public AntGraph​(org.apache.tools.ant.Project project)
        Creates a new graph.
        Parameters:
        project - the graph's project.
    • Method Detail

      • createTaskLink

        public final AntTaskLink createTaskLink​(String linkName,
                                                Node startNode,
                                                Node endNode,
                                                String taskName)
        Creates a link representing a call by a task like ant.
        Parameters:
        linkName - String
        startNode - Node
        endNode - Node
        taskName - String
        Returns:
        AntTaskLink
      • createSubantTaskLink

        public final SubantTaskLink createSubantTaskLink​(String linkName,
                                                         Node startNode,
                                                         Node endNode,
                                                         String taskName)
        Creates a link representing a call by a subant task.
        Parameters:
        linkName - String
        startNode - Node
        endNode - Node
        taskName - String
        Returns:
        SubantTaskLink
      • getProject

        public final org.apache.tools.ant.Project getProject()
        Returns the project.
        Returns:
        Project