org.apache.tools.ant
Class TaskAdapter

java.lang.Object
  |
  +--org.apache.tools.ant.Task
        |
        +--org.apache.tools.ant.TaskAdapter

public class TaskAdapter
extends Task

Use introspection to "adapt" an arbitrary Bean ( not extending Task, but with similar patterns).

Author:
costin@dnt.ro

Fields inherited from class org.apache.tools.ant.Task
description, location, project, target, taskName, taskType, wrapper
 
Constructor Summary
TaskAdapter()
           
 
Method Summary
 void execute()
          Do the execution.
 java.lang.Object getProxy()
           
 void setProxy(java.lang.Object o)
          Set the target object class
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getProject, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskAdapter

public TaskAdapter()
Method Detail

execute

public void execute()
             throws BuildException
Do the execution.
Overrides:
execute in class Task
Following copied from class: org.apache.tools.ant.Task
Throws:
BuildException - if someting goes wrong with the build

setProxy

public void setProxy(java.lang.Object o)
Set the target object class

getProxy

public java.lang.Object getProxy()


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.