Class UIDTask

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

public class UIDTask extends org.apache.tools.ant.Task
A task to generate a unique ID.
Since:
Ant 1.6
Version:
$Revision: 138 $
  • 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
    Generate a unique id and store it in the project with the given name.
    void
    setInt(boolean b)
     
    void
     

    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

    • UIDTask

      public UIDTask()
  • Method Details

    • setName

      public void setName(String n)
      Parameters:
      n - a name for this UID
    • setInt

      public void setInt(boolean b)
    • execute

      public void execute()
      Generate a unique id and store it in the project with the given name.
      Overrides:
      execute in class org.apache.tools.ant.Task