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 voidaddTask(org.apache.tools.ant.Task task)Add a nested taskvoidexecute()Execute all tasks.voidmaybeConfigure()voidsetInc(int i)Sets the inc attribute of the ForTask objectvoidsetInitName(java.lang.String name)Sets the initName attribute of the ForTask objectvoidsetInitvalue(int i)Sets the initvalue attribute of the ForTask objectvoidsetMaxvalue(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:
addTaskin interfaceorg.apache.tools.ant.TaskContainer- Parameters:
task- Nested task
-
maybeConfigure
public void maybeConfigure()
- Overrides:
maybeConfigurein classorg.apache.tools.ant.Task
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionExecute all tasks.- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException- Description of Exception
-
-