public class DefaultAntTaskFactory extends Object implements AntTaskFactory
AntTaskFactory for creating Ant tasks.| Constructor and Description |
|---|
DefaultAntTaskFactory(org.apache.tools.ant.Project project)
Constructor using default values for the current task name, current location and current
target.
|
DefaultAntTaskFactory(org.apache.tools.ant.Project project,
String currentTaskName,
org.apache.tools.ant.Location currentLocation,
org.apache.tools.ant.Target currentTarget) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tools.ant.Task |
createTask(String theName)
Returns the task that is mapped to the specified name.
|
public DefaultAntTaskFactory(org.apache.tools.ant.Project project)
project - the Ant project used when creating Ant taskspublic DefaultAntTaskFactory(org.apache.tools.ant.Project project,
String currentTaskName,
org.apache.tools.ant.Location currentLocation,
org.apache.tools.ant.Target currentTarget)
project - the Ant project used when creating Ant taskscurrentTaskName - the current Ant task being executedcurrentLocation - the current Location of the Task being
executed.currentTarget - the current Target being executedpublic org.apache.tools.ant.Task createTask(String theName)
createTask in interface AntTaskFactorytheName - The logical name of the tasknull if a corresponding task could not be createdAntTaskFactory.createTask(String)Copyright © 2004-2013 Codehaus. All Rights Reserved.