Method Summary |
|
public void | addDataType(RuntimeConfigurable r) Adds the wrapper for a data type element to this target. |
public void | addDependency(String dependency) Adds a dependency to this target. |
public void | addTask(Task task) Adds a task to this target.
Parameters: task - The task to be added. |
public boolean | dependsOn(String other) Does this target depend on the named target?
Parameters: other - the other named target. |
public void | execute() Executes the target if the "if" and "unless" conditions are
satisfied. |
public Enumeration | getDependencies() Returns an enumeration of the dependencies of this target. |
public String | getDescription() Returns the description of this target. |
public String | getIf() Returns the "if" property condition of this target. |
public Location | getLocation() Get the location of this target's definition. |
public String | getName() Returns the name of this target. |
public Project | getProject() Returns the project this target belongs to. |
public Task[] | getTasks() Returns the current set of tasks to be executed by this target. |
public String | getUnless() Returns the "unless" property condition of this target. |
final public void | performTasks() Performs the tasks within this target (if the conditions are met),
firing target started/target finished messages around a call to
execute. |
void | replaceChild(Task el, RuntimeConfigurable o) Replaces all occurrences of the given task in the list
of children with the replacement data type wrapper. |
void | replaceChild(Task el, Task o) Replaces all occurrences of the given task in the list
of children with the replacement task. |
public void | setDepends(String depS) Sets the list of targets this target is dependent on.
The targets themselves are not resolved at this time.
Parameters: depS - A comma-separated list of targets this targetdepends on. |
public void | setDescription(String description) Sets the description of this target. |
public void | setIf(String property) Sets the "if" condition to test on execution. |
public void | setLocation(Location location) Sets the location of this target's definition. |
public void | setName(String name) Sets the name of this target.
Parameters: name - The name of this target. |
public void | setProject(Project project) Sets the project this target belongs to. |
public void | setUnless(String property) Sets the "unless" condition to test on execution. |
public String | toString() Returns the name of this target. |