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 Details

    • ExtensionPoint

      public ExtensionPoint()
    • ExtensionPoint

      public ExtensionPoint(Target other)
      Cloning constructor.
      Parameters:
      other - the Target to clone.
  • Method Details

    • addTask

      public final void addTask(Task task)
      Throws an exception.
      Specified by:
      addTask in interface TaskContainer
      Overrides:
      addTask in class Target
      Parameters:
      task - The task to be added. Must not be null.
    • addDataType

      public final void addDataType(RuntimeConfigurable r)
      Throws an exception.
      Overrides:
      addDataType in class Target
      Parameters:
      r - The wrapper for the data type element to be added. Must not be null.