uk.ac.roe.antigen.ant
Class TaskTreeCalcuator

java.lang.Object
  extended byuk.ac.roe.antigen.ant.TaskTreeCalcuator

public class TaskTreeCalcuator
extends java.lang.Object

Given a starting target, traverse the tree and work out the total number of tasks and targets to be run

Author:
jdt

Constructor Summary
TaskTreeCalcuator(org.apache.tools.ant.Project project)
           
 
Method Summary
 int getNumberOfTargetsToRun(org.apache.tools.ant.Target root)
           
 int getNumberOfTasksToRun(java.lang.String defaultTargetName)
           
 int getNumberOfTasksToRun(org.apache.tools.ant.Target root)
           
 java.util.List getTasksToRun(org.apache.tools.ant.Target root)
           
 java.util.Set getUniqueDependencies(org.apache.tools.ant.Target root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskTreeCalcuator

public TaskTreeCalcuator(org.apache.tools.ant.Project project)
Method Detail

getUniqueDependencies

public java.util.Set getUniqueDependencies(org.apache.tools.ant.Target root)

getNumberOfTargetsToRun

public int getNumberOfTargetsToRun(org.apache.tools.ant.Target root)

getTasksToRun

public java.util.List getTasksToRun(org.apache.tools.ant.Target root)

getNumberOfTasksToRun

public int getNumberOfTasksToRun(org.apache.tools.ant.Target root)

getNumberOfTasksToRun

public int getNumberOfTasksToRun(java.lang.String defaultTargetName)
Parameters:
defaultTargetName -
Returns:


Copyright © 2005 Institute for Astronomy, Royal Observatory of Edinburgh. All Rights Reserved.