it.haefelinger.flaka
Class For

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by it.haefelinger.flaka.Task
              extended by it.haefelinger.flaka.For
All Implemented Interfaces:
Cloneable, TaskContainer

public class For
extends Task
implements TaskContainer

Since:
1.0
Author:
merzedes

Field Summary
protected  String expr
           
protected  Object saved
           
protected  Vector tasks
          Optional Vector holding the nested tasks
protected  String var
           
 
Fields inherited from class it.haefelinger.flaka.Task
debug, el
 
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
For()
           
 
Method Summary
 void addTask(Task nestedTask)
           
protected  void exectasks(Object val)
           
 void execute()
           
protected  Iterator iterator()
           
protected  void rescue()
           
protected  void restore()
           
 void setIn(String expr)
          The argument list to be iterated over.
 void setVar(String var)
          Set the var attribute.
 
Methods inherited from class it.haefelinger.flaka.Task
debug, debug, error, error, getProperty, getref, info, log, setDebug, setEl, throwbx, throwbx, toFile, verbose, warn, warn
 
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, 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
 

Field Detail

expr

protected String expr

var

protected String var

tasks

protected Vector tasks
Optional Vector holding the nested tasks


saved

protected Object saved
Constructor Detail

For

public For()
Method Detail

setIn

public void setIn(String expr)
The argument list to be iterated over.


setVar

public void setVar(String var)
Set the var attribute. This is the name of the macrodef attribute that gets set for each iterator of the sequential element.


addTask

public void addTask(Task nestedTask)
Specified by:
addTask in interface TaskContainer

rescue

protected void rescue()

restore

protected void restore()

exectasks

protected void exectasks(Object val)
                  throws BuildException
Throws:
BuildException

iterator

protected Iterator iterator()

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException