Interface AntTaskFactory

  • All Known Implementing Classes:

    public interface AntTaskFactory
    Interface that allows random classes to use Ant tasks without needing an explicit reference to a project, target or task.
    • Method Detail

      • createTask createTask​(String taskName)
        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.
        taskName - The logical name of the task
        A new instance of the task mapped to the name, or null if a corresponding task could not be created