Browse Source

commentary on bindToOwner

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@384203 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 19 years ago
parent
commit
5f3618a03d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/main/org/apache/tools/ant/Task.java

+ 6
- 0
src/main/org/apache/tools/ant/Task.java View File

@@ -484,7 +484,13 @@ public abstract class Task extends ProjectComponent {
* Bind a task to another; use this when configuring a newly created
* task to do work on behalf of another.
* Project, OwningTarget, TaskName, Location and Description are all copied
*
* Important: this method does not call {@link Task#init()}.
* If you are creating a task to delegate work to, call {@link Task#init()}
* to initialize it.
*
* @param owner owning target
* @since Ant1.7
*/
public final void bindToOwner(Task owner) {
setProject(owner.getProject());


Loading…
Cancel
Save