|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.uworks.andariel.Decrease
Task definition for an ANT task that numerically decreases a property.
Usage: Task declaration in the project:<taskdef name="decrease" classname="net.uworks.andariel.Decrease" />Task calling syntax:<decrease name="name" [value="value"] />Attributes: name -> The name of the property to decrease value -> The numeric value to decrease (default is 1) Crude Example:<decrease name="counter" value="2" />
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
Decrease()
|
|
| Method Summary | |
void |
execute()
Execute this task. |
void |
setName(java.lang.String name)
Set the name of the property to modify. |
void |
setValue(java.lang.String value)
Set the ammount of the decrease operation. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Decrease()
| Method Detail |
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - Description of the Exceptionpublic void setName(java.lang.String name)
name - the property to modify.public void setValue(java.lang.String value)
value - the number we've to take from the property.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||