Class Unset

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ise.antelope.tasks.Unset
All Implemented Interfaces:
Cloneable

public class Unset extends org.apache.tools.ant.Task
Unsets a property.
Since:
Ant 1.6
Version:
$Revision: 132 $
  • Field Summary

    Fields inherited from class org.apache.tools.ant.Task

    target, taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute all nested tasks, repeating.
    void
    setFile(File file)
    Sets the file attribute of the Unset object
    void
    Set the name of the property to unset.

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType

    Methods inherited from class org.apache.tools.ant.ProjectComponent

    clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Unset

      public Unset()
  • Method Details

    • setName

      public void setName(String name)
      Set the name of the property to unset. Required.
      Parameters:
      name - the name of the property to unset.
    • setFile

      public void setFile(File file)
      Sets the file attribute of the Unset object
      Parameters:
      file - The new file value
    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Execute all nested tasks, repeating.
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException - Description of the Exception