Package org.apache.tools.ant
Class ExtensionPoint
java.lang.Object
org.apache.tools.ant.Target
org.apache.tools.ant.ExtensionPoint
- All Implemented Interfaces:
TaskContainer
public class ExtensionPoint extends Target
An extension point build files can provide as a place where other
build files can add new dependencies.
- Since:
- Ant 1.8.0
-
Constructor Summary
Constructors Constructor Description ExtensionPoint()
ExtensionPoint(Target other)
Cloning constructor. -
Method Summary
Modifier and Type Method Description void
addDataType(RuntimeConfigurable r)
Throws an exception.void
addTask(Task task)
Throws an exception.Methods inherited from class org.apache.tools.ant.Target
addDependency, dependsOn, execute, getDependencies, getDescription, getIf, getLocation, getName, getProject, getTasks, getUnless, parseDepends, performTasks, setDepends, setDescription, setIf, setIf, setLocation, setName, setProject, setUnless, setUnless, toString
-
Constructor Details
-
ExtensionPoint
public ExtensionPoint() -
ExtensionPoint
Cloning constructor.- Parameters:
other
- the Target to clone.
-
-
Method Details
-
addTask
Throws an exception.- Specified by:
addTask
in interfaceTaskContainer
- Overrides:
addTask
in classTarget
- Parameters:
task
- The task to be added. Must not benull
.
-
addDataType
Throws an exception.- Overrides:
addDataType
in classTarget
- Parameters:
r
- The wrapper for the data type element to be added. Must not benull
.
-