<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Thu Nov 02 11:46:41 EST 2006 -->
<TITLE>
ForTask (Ant Contrib)
</TITLE>
<META NAME="keywords" CONTENT="net.sf.antcontrib.logic.ForTask class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="ForTask (Ant Contrib)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package
</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class
</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help
</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sf/antcontrib/logic/ForEach.html" title="class in net.sf.antcontrib.logic"><B>PREV CLASS
</B></A>
<A HREF="../../../../net/sf/antcontrib/logic/IfTask.html" title="class in net.sf.antcontrib.logic"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/sf/antcontrib/logic/ForTask.html" target="_top"><B>FRAMES
</B></A>
<A HREF="ForTask.html" target="_top"><B>NO FRAMES
</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes
</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:
NESTED
|
<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD
</A> |
<A HREF="#constructor_summary">CONSTR
</A> |
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
FIELD
|
<A HREF="#constructor_detail">CONSTR
</A> |
<A HREF="#method_detail">METHOD
</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
net.sf.antcontrib.logic
</FONT>
<BR>
Class ForTask
</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.tools.ant.ProjectComponent
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">org.apache.tools.ant.Task
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.antcontrib.logic.ForTask
</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class
<B>ForTask
</B><DT>extends org.apache.tools.ant.Task
</DL>
</PRE>
<P>
Task definition for the for task. This is based on
the foreach task but takes a sequential element
instead of a target and only works for ant >= 1.6Beta3
<P>
<P>
<DL>
<DT><B>Author:
</B></DT>
<DD>Peter Reilly
</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary
</B></FONT></TH>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.Task
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>description, location, target, taskName, taskType, wrapper
</CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.tools.ant.ProjectComponent
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>project
</CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary
</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#ForTask()">ForTask
</A></B>()
</CODE>
<BR>
Creates a new
<code>For
</code> instance.
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary
</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(java.util.Collection)">add
</A></B>(java.util.Collection
collection)
</CODE>
<BR>
Add a collection that can be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(org.apache.tools.ant.types.DirSet)">add
</A></B>(org.apache.tools.ant.types.DirSet
dirset)
</CODE>
<BR>
Add a dirset to be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(org.apache.tools.ant.types.FileSet)">add
</A></B>(org.apache.tools.ant.types.FileSet
fileset)
</CODE>
<BR>
Add a fileset to be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(java.util.Iterator)">add
</A></B>(java.util.Iterator
iterator)
</CODE>
<BR>
Add an iterator to be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(java.util.Map)">add
</A></B>(java.util.Map
map)
</CODE>
<BR>
Add a Map, iterate over the values
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#add(java.lang.Object)">add
</A></B>(java.lang.Object
obj)
</CODE>
<BR>
Add an object that has an Iterator iterator() method
that can be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#addConfigured(org.apache.tools.ant.types.Path)">addConfigured
</A></B>(org.apache.tools.ant.types.Path
path)
</CODE>
<BR>
This is a path that can be used instread of the list
attribute to interate over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#addConfiguredPath(org.apache.tools.ant.types.Path)">addConfiguredPath
</A></B>(org.apache.tools.ant.types.Path
path)
</CODE>
<BR>
This is a path that can be used instread of the list
attribute to interate over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#addDirSet(org.apache.tools.ant.types.DirSet)">addDirSet
</A></B>(org.apache.tools.ant.types.DirSet
dirset)
</CODE>
<BR>
Add a dirset to be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#addFileSet(org.apache.tools.ant.types.FileSet)">addFileSet
</A></B>(org.apache.tools.ant.types.FileSet
fileset)
</CODE>
<BR>
Add a fileset to be iterated over.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#createSequential()">createSequential
</A></B>()
</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#execute()">execute
</A></B>()
</CODE>
<BR>
Run the for task.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setBegin(int)">setBegin
</A></B>(int
begin)
</CODE>
<BR>
Set begin attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setDelimiter(java.lang.String)">setDelimiter
</A></B>(java.lang.String
delimiter)
</CODE>
<BR>
Set the delimiter attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setEnd(java.lang.Integer)">setEnd
</A></B>(java.lang.Integer
end)
</CODE>
<BR>
Set end attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setKeepgoing(boolean)">setKeepgoing
</A></B>(boolean
keepgoing)
</CODE>
<BR>
Set the keepgoing attribute, indicating whether we
should stop on errors or continue heedlessly onward.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setList(java.lang.String)">setList
</A></B>(java.lang.String
list)
</CODE>
<BR>
Set the list attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setParallel(boolean)">setParallel
</A></B>(boolean
parallel)
</CODE>
<BR>
Attribute whether to execute the loop in parallel or in sequence.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setParam(java.lang.String)">setParam
</A></B>(java.lang.String
param)
</CODE>
<BR>
Set the param attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setStep(int)">setStep
</A></B>(int
step)
</CODE>
<BR>
Set step attribute.
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setThreadCount(int)">setThreadCount
</A></B>(int
threadCount)
</CODE>
<BR>
Set the maximum amount of threads we're going to allow
to execute in parallel
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void
</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/logic/ForTask.html#setTrim(boolean)">setTrim
</A></B>(boolean
trim)
</CODE>
<BR>
Set the trim attribute.
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.Task
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>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
</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.tools.ant.ProjectComponent
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getProject, setProject
</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object
</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail
</B></FONT></TH>
</TR>
</TABLE>
<A NAME="ForTask()"><!-- --></A><H3>
ForTask
</H3>
<PRE>
public
<B>ForTask
</B>()
</PRE>
<DL>
<DD>Creates a new
<code>For
</code> instance.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail
</B></FONT></TH>
</TR>
</TABLE>
<A NAME="setParallel(boolean)"><!-- --></A><H3>
setParallel
</H3>
<PRE>
public void
<B>setParallel
</B>(boolean
parallel)
</PRE>
<DL>
<DD>Attribute whether to execute the loop in parallel or in sequence.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>parallel
</CODE> - if true execute the tasks in parallel. Default is false.
</DL>
</DD>
</DL>
<HR>
<A NAME="setThreadCount(int)"><!-- --></A><H3>
setThreadCount
</H3>
<PRE>
public void
<B>setThreadCount
</B>(int
threadCount)
</PRE>
<DL>
<DD>Set the maximum amount of threads we're going to allow
to execute in parallel
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>threadCount
</CODE> - the number of threads to use
</DL>
</DD>
</DL>
<HR>
<A NAME="setTrim(boolean)"><!-- --></A><H3>
setTrim
</H3>
<PRE>
public void
<B>setTrim
</B>(boolean
trim)
</PRE>
<DL>
<DD>Set the trim attribute.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>trim
</CODE> - if true, trim the value for each iterator.
</DL>
</DD>
</DL>
<HR>
<A NAME="setKeepgoing(boolean)"><!-- --></A><H3>
setKeepgoing
</H3>
<PRE>
public void
<B>setKeepgoing
</B>(boolean
keepgoing)
</PRE>
<DL>
<DD>Set the keepgoing attribute, indicating whether we
should stop on errors or continue heedlessly onward.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>keepgoing
</CODE> - a boolean, if
<code>true
</code> then we act in
the keepgoing manner described.
</DL>
</DD>
</DL>
<HR>
<A NAME="setList(java.lang.String)"><!-- --></A><H3>
setList
</H3>
<PRE>
public void
<B>setList
</B>(java.lang.String
list)
</PRE>
<DL>
<DD>Set the list attribute.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>list
</CODE> - a list of delimiter separated tokens.
</DL>
</DD>
</DL>
<HR>
<A NAME="setDelimiter(java.lang.String)"><!-- --></A><H3>
setDelimiter
</H3>
<PRE>
public void
<B>setDelimiter
</B>(java.lang.String
delimiter)
</PRE>
<DL>
<DD>Set the delimiter attribute.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>delimiter
</CODE> - the delimiter used to separate the tokens in
the list attribute. The default is ",".
</DL>
</DD>
</DL>
<HR>
<A NAME="setParam(java.lang.String)"><!-- --></A><H3>
setParam
</H3>
<PRE>
public void
<B>setParam
</B>(java.lang.String
param)
</PRE>
<DL>
<DD>Set the param attribute.
This is the name of the macrodef attribute that
gets set for each iterator of the sequential element.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>param
</CODE> - the name of the macrodef attribute.
</DL>
</DD>
</DL>
<HR>
<A NAME="addConfigured(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
addConfigured
</H3>
<PRE>
public void
<B>addConfigured
</B>(org.apache.tools.ant.types.Path
path)
</PRE>
<DL>
<DD>This is a path that can be used instread of the list
attribute to interate over. If this is set, each
path element in the path is used for an interator of the
sequential element.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>path
</CODE> - the path to be set by the ant script.
</DL>
</DD>
</DL>
<HR>
<A NAME="addConfiguredPath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
addConfiguredPath
</H3>
<PRE>
public void
<B>addConfiguredPath
</B>(org.apache.tools.ant.types.Path
path)
</PRE>
<DL>
<DD>This is a path that can be used instread of the list
attribute to interate over. If this is set, each
path element in the path is used for an interator of the
sequential element.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>path
</CODE> - the path to be set by the ant script.
</DL>
</DD>
</DL>
<HR>
<A NAME="createSequential()"><!-- --></A><H3>
createSequential
</H3>
<PRE>
public java.lang.Object
<B>createSequential
</B>()
</PRE>
<DL>
<DD><DL>
<DT><B>Returns:
</B><DD>a MacroDef#NestedSequential object to be configured
</DL>
</DD>
</DL>
<HR>
<A NAME="setBegin(int)"><!-- --></A><H3>
setBegin
</H3>
<PRE>
public void
<B>setBegin
</B>(int
begin)
</PRE>
<DL>
<DD>Set begin attribute.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>begin
</CODE> - the value to use.
</DL>
</DD>
</DL>
<HR>
<A NAME="setEnd(java.lang.Integer)"><!-- --></A><H3>
setEnd
</H3>
<PRE>
public void
<B>setEnd
</B>(java.lang.Integer
end)
</PRE>
<DL>
<DD>Set end attribute.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>end
</CODE> - the value to use.
</DL>
</DD>
</DL>
<HR>
<A NAME="setStep(int)"><!-- --></A><H3>
setStep
</H3>
<PRE>
public void
<B>setStep
</B>(int
step)
</PRE>
<DL>
<DD>Set step attribute.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="execute()"><!-- --></A><H3>
execute
</H3>
<PRE>
public void
<B>execute
</B>()
</PRE>
<DL>
<DD>Run the for task.
This checks the attributes and nested elements, and
if there are ok, it calls doTheTasks()
which constructes a macrodef task and a
for each interation a macrodef instance.
<P>
<DD><DL>
<DT><B>Overrides:
</B><DD><CODE>execute
</CODE> in class
<CODE>org.apache.tools.ant.Task
</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="add(java.util.Map)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(java.util.Map
map)
</PRE>
<DL>
<DD>Add a Map, iterate over the values
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>map
</CODE> - a Map object - iterate over the values.
</DL>
</DD>
</DL>
<HR>
<A NAME="add(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(org.apache.tools.ant.types.FileSet
fileset)
</PRE>
<DL>
<DD>Add a fileset to be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>fileset
</CODE> - a
<code>FileSet
</code> value
</DL>
</DD>
</DL>
<HR>
<A NAME="addFileSet(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
addFileSet
</H3>
<PRE>
public void
<B>addFileSet
</B>(org.apache.tools.ant.types.FileSet
fileset)
</PRE>
<DL>
<DD>Add a fileset to be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>fileset
</CODE> - a
<code>FileSet
</code> value
</DL>
</DD>
</DL>
<HR>
<A NAME="add(org.apache.tools.ant.types.DirSet)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(org.apache.tools.ant.types.DirSet
dirset)
</PRE>
<DL>
<DD>Add a dirset to be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>dirset
</CODE> - a
<code>DirSet
</code> value
</DL>
</DD>
</DL>
<HR>
<A NAME="addDirSet(org.apache.tools.ant.types.DirSet)"><!-- --></A><H3>
addDirSet
</H3>
<PRE>
public void
<B>addDirSet
</B>(org.apache.tools.ant.types.DirSet
dirset)
</PRE>
<DL>
<DD>Add a dirset to be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>dirset
</CODE> - a
<code>DirSet
</code> value
</DL>
</DD>
</DL>
<HR>
<A NAME="add(java.util.Collection)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(java.util.Collection
collection)
</PRE>
<DL>
<DD>Add a collection that can be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>collection
</CODE> - a
<code>Collection
</code> value.
</DL>
</DD>
</DL>
<HR>
<A NAME="add(java.util.Iterator)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(java.util.Iterator
iterator)
</PRE>
<DL>
<DD>Add an iterator to be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>iterator
</CODE> - an
<code>Iterator
</code> value
</DL>
</DD>
</DL>
<HR>
<A NAME="add(java.lang.Object)"><!-- --></A><H3>
add
</H3>
<PRE>
public void
<B>add
</B>(java.lang.Object
obj)
</PRE>
<DL>
<DD>Add an object that has an Iterator iterator() method
that can be iterated over.
<P>
<DD><DL>
<DT><B>Parameters:
</B><DD><CODE>obj
</CODE> - An object that can be iterated over.
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package
</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class
</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index
</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help
</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../net/sf/antcontrib/logic/ForEach.html" title="class in net.sf.antcontrib.logic"><B>PREV CLASS
</B></A>
<A HREF="../../../../net/sf/antcontrib/logic/IfTask.html" title="class in net.sf.antcontrib.logic"><B>NEXT CLASS
</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/sf/antcontrib/logic/ForTask.html" target="_top"><B>FRAMES
</B></A>
<A HREF="ForTask.html" target="_top"><B>NO FRAMES
</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes
</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:
NESTED
|
<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD
</A> |
<A HREF="#constructor_summary">CONSTR
</A> |
<A HREF="#method_summary">METHOD
</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:
FIELD
|
<A HREF="#constructor_detail">CONSTR
</A> |
<A HREF="#method_detail">METHOD
</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>