Ant API: Class TaskAdapter

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, project, target`

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, init, setDescription, setTarget`

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
  Tags copied from class: 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()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000 Apache Software Foundation. All Rights Reserved.