Package ise.antelope.tasks
Class ForTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- ise.antelope.tasks.ForTask
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.tools.ant.TaskContainer
public class ForTask extends org.apache.tools.ant.Task implements org.apache.tools.ant.TaskContainer
- Since:
- Ant 1.5
- Version:
- $Revision: 91 $
-
-
Constructor Summary
Constructors Constructor Description ForTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTask(org.apache.tools.ant.Task task)
Add a nested taskvoid
execute()
Execute all tasks.void
maybeConfigure()
void
setInc(int i)
Sets the inc attribute of the ForTask objectvoid
setInitName(java.lang.String name)
Sets the initName attribute of the ForTask objectvoid
setInitvalue(int i)
Sets the initvalue attribute of the ForTask objectvoid
setMaxvalue(int i)
Sets the maxvalue attribute of the ForTask object-
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, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setInitName
public void setInitName(java.lang.String name)
Sets the initName attribute of the ForTask object- Parameters:
name
- The new initName value
-
setInitvalue
public void setInitvalue(int i)
Sets the initvalue attribute of the ForTask object- Parameters:
i
- The new initvalue value
-
setMaxvalue
public void setMaxvalue(int i)
Sets the maxvalue attribute of the ForTask object- Parameters:
i
- The new maxvalue value
-
setInc
public void setInc(int i)
Sets the inc attribute of the ForTask object- Parameters:
i
- The new inc value
-
addTask
public void addTask(org.apache.tools.ant.Task task)
Add a nested task- Specified by:
addTask
in interfaceorg.apache.tools.ant.TaskContainer
- Parameters:
task
- Nested task
-
maybeConfigure
public void maybeConfigure()
- Overrides:
maybeConfigure
in classorg.apache.tools.ant.Task
-
execute
public void execute() throws org.apache.tools.ant.BuildException
Execute all tasks.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- Description of Exception
-
-