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:
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 $
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTask
(org.apache.tools.ant.Task task) Add a nested taskvoid
execute()
Execute all tasks.void
void
setInc
(int i) Sets the inc attribute of the ForTask objectvoid
setInitName
(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 objectMethods 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
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
ForTask
public ForTask()
-
-
Method Details
-
setInitName
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.BuildExceptionExecute all tasks.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- Description of Exception
-