Class Unset

  • All Implemented Interfaces:
    java.lang.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
      Unset()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Execute all nested tasks, repeating.
      void setFile​(java.io.File file)
      Sets the file attribute of the Unset object
      void setName​(java.lang.String name)
      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 Detail

      • Unset

        public Unset()
    • Method Detail

      • setName

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

        public void setFile​(java.io.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