ise.antelope.tasks
Class UIDTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by ise.antelope.tasks.UIDTask
All Implemented Interfaces:
java.lang.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
UIDTask()
           
 
Method Summary
 void execute()
          Generate a unique id and store it in the project with the given name.
 void setInt(boolean b)
           
 void setName(java.lang.String n)
           
 
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

UIDTask

public UIDTask()
Method Detail

setName

public void setName(java.lang.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