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

## org.apache.cactus.integration.ant.util
Interface AntTaskFactory

All Known Implementing Classes:
  DefaultAntTaskFactory

public interface AntTaskFactory

Interface that allows random classes to use Ant tasks without needing an explicit reference to a project, target or task.

Version:
  $Id: AntTaskFactory.java 239003 2004-05-31 20:05:27Z vmassol $

Method Summary
`org.apache.tools.ant.Task` | `createTask(java.lang.String theName)` Returns the task that is mapped to the specified name.

Method Detail

### createTask

    public org.apache.tools.ant.Task createTask(java.lang.String theName)

  Returns the task that is mapped to the specified name. Implementations of this interface should correctly initialize the task by setting the name, the project and optionally the owning target.

  Parameters:
    `theName` - The logical name of the task
  Returns:
    A new instance of the task mapped to the name, or `null` if a corresponding task could not be created

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

Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.