[14627] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
| 2 | <!--NewPage-->
|
---|
| 3 | <HTML>
|
---|
| 4 | <HEAD>
|
---|
| 5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:22 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | WaitFor (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.WaitFor class">
|
---|
| 11 |
|
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
| 13 |
|
---|
| 14 | <SCRIPT type="text/javascript">
|
---|
| 15 | function windowTitle()
|
---|
| 16 | {
|
---|
| 17 | parent.document.title="WaitFor (Apache Ant API)";
|
---|
| 18 | }
|
---|
| 19 | </SCRIPT>
|
---|
| 20 |
|
---|
| 21 | </HEAD>
|
---|
| 22 |
|
---|
| 23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
| 27 | <A NAME="navbar_top"><!-- --></A>
|
---|
| 28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
| 29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 30 | <TR>
|
---|
| 31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
| 33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 34 | <TR ALIGN="center" VALIGN="top">
|
---|
| 35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 42 | </TR>
|
---|
| 43 | </TABLE>
|
---|
| 44 | </TD>
|
---|
| 45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 46 | </EM>
|
---|
| 47 | </TD>
|
---|
| 48 | </TR>
|
---|
| 49 |
|
---|
| 50 | <TR>
|
---|
| 51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/UpToDate.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 56 | <A HREF="WaitFor.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 57 | <SCRIPT type="text/javascript">
|
---|
| 58 | <!--
|
---|
| 59 | if(window==top) {
|
---|
| 60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 61 | }
|
---|
| 62 | //-->
|
---|
| 63 | </SCRIPT>
|
---|
| 64 | <NOSCRIPT>
|
---|
| 65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 66 | </NOSCRIPT>
|
---|
| 67 |
|
---|
| 68 | </FONT></TD>
|
---|
| 69 | </TR>
|
---|
| 70 | <TR>
|
---|
| 71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 72 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.ProjectComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 75 | </TR>
|
---|
| 76 | </TABLE>
|
---|
| 77 | <A NAME="skip-navbar_top"></A>
|
---|
| 78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
| 79 |
|
---|
| 80 | <HR>
|
---|
| 81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
| 82 | <H2>
|
---|
| 83 | <FONT SIZE="-1">
|
---|
| 84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class WaitFor</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
| 90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html" title="class in org.apache.tools.ant.taskdefs.condition">org.apache.tools.ant.taskdefs.condition.ConditionBase</A>
|
---|
| 91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.WaitFor</B>
|
---|
| 92 | </PRE>
|
---|
| 93 | <HR>
|
---|
| 94 | <DL>
|
---|
| 95 | <DT>public class <B>WaitFor</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html" title="class in org.apache.tools.ant.taskdefs.condition">ConditionBase</A></DL>
|
---|
| 96 |
|
---|
| 97 | <P>
|
---|
| 98 | Wait for an external event to occur.
|
---|
| 99 |
|
---|
| 100 | Wait for an external process to start or to complete some
|
---|
| 101 | task. This is useful with the <code>parallel</code> task to
|
---|
| 102 | synchronize the execution of tests with server startup.
|
---|
| 103 |
|
---|
| 104 | The following attributes can be specified on a waitfor task:
|
---|
| 105 | <ul>
|
---|
| 106 | <li>maxwait - maximum length of time to wait before giving up</li>
|
---|
| 107 | <li>maxwaitunit - The unit to be used to interpret maxwait attribute</li>
|
---|
| 108 | <li>checkevery - amount of time to sleep between each check</li>
|
---|
| 109 | <li>checkeveryunit - The unit to be used to interpret checkevery attribute</li>
|
---|
| 110 | <li>timeoutproperty - name of a property to set if maxwait has been exceeded.</li>
|
---|
| 111 | </ul>
|
---|
| 112 |
|
---|
| 113 | The maxwaitunit and checkeveryunit are allowed to have the following values:
|
---|
| 114 | millisecond, second, minute, hour, day and week. The default is millisecond.
|
---|
| 115 | <P>
|
---|
| 116 |
|
---|
| 117 | <P>
|
---|
| 118 | <DL>
|
---|
| 119 | <DT><B>Since:</B></DT>
|
---|
| 120 | <DD>Ant 1.5</DD>
|
---|
| 121 | </DL>
|
---|
| 122 | <HR>
|
---|
| 123 |
|
---|
| 124 | <P>
|
---|
| 125 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 126 |
|
---|
| 127 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
| 128 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 129 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 130 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 131 | <B>Nested Class Summary</B></FONT></TD>
|
---|
| 132 | </TR>
|
---|
| 133 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 134 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 135 | <CODE>static class</CODE></FONT></TD>
|
---|
| 136 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs">WaitFor.Unit</A></B></CODE>
|
---|
| 137 |
|
---|
| 138 | <BR>
|
---|
| 139 | The enumeration of units:
|
---|
| 140 | millisecond, second, minute, hour, day, week</TD>
|
---|
| 141 | </TR>
|
---|
| 142 | </TABLE>
|
---|
| 143 |
|
---|
| 144 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 145 |
|
---|
| 146 | <A NAME="field_summary"><!-- --></A>
|
---|
| 147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 148 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 149 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 150 | <B>Field Summary</B></FONT></TD>
|
---|
| 151 | </TR>
|
---|
| 152 | </TABLE>
|
---|
| 153 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 155 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 156 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 157 | </TR>
|
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 159 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
| 160 | </TR>
|
---|
| 161 | </TABLE>
|
---|
| 162 |
|
---|
| 163 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 164 |
|
---|
| 165 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 167 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 168 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 169 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 170 | </TR>
|
---|
| 171 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 172 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#WaitFor()">WaitFor</A></B>()</CODE>
|
---|
| 173 |
|
---|
| 174 | <BR>
|
---|
| 175 | </TD>
|
---|
| 176 | </TR>
|
---|
| 177 | </TABLE>
|
---|
| 178 |
|
---|
| 179 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 180 |
|
---|
| 181 | <A NAME="method_summary"><!-- --></A>
|
---|
| 182 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 183 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 184 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 185 | <B>Method Summary</B></FONT></TD>
|
---|
| 186 | </TR>
|
---|
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 189 | <CODE> void</CODE></FONT></TD>
|
---|
| 190 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#execute()">execute</A></B>()</CODE>
|
---|
| 191 |
|
---|
| 192 | <BR>
|
---|
| 193 | Check repeatedly for the specified conditions until they become
|
---|
| 194 | true or the timeout expires.</TD>
|
---|
| 195 | </TR>
|
---|
| 196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 198 | <CODE> void</CODE></FONT></TD>
|
---|
| 199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#setCheckEvery(long)">setCheckEvery</A></B>(long time)</CODE>
|
---|
| 200 |
|
---|
| 201 | <BR>
|
---|
| 202 | Set the time between each check</TD>
|
---|
| 203 | </TR>
|
---|
| 204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 206 | <CODE> void</CODE></FONT></TD>
|
---|
| 207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#setCheckEveryUnit(org.apache.tools.ant.taskdefs.WaitFor.Unit)">setCheckEveryUnit</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs">WaitFor.Unit</A> unit)</CODE>
|
---|
| 208 |
|
---|
| 209 | <BR>
|
---|
| 210 | Set the check every time unit</TD>
|
---|
| 211 | </TR>
|
---|
| 212 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 213 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 214 | <CODE> void</CODE></FONT></TD>
|
---|
| 215 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#setMaxWait(long)">setMaxWait</A></B>(long time)</CODE>
|
---|
| 216 |
|
---|
| 217 | <BR>
|
---|
| 218 | Set the maximum length of time to wait</TD>
|
---|
| 219 | </TR>
|
---|
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 222 | <CODE> void</CODE></FONT></TD>
|
---|
| 223 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#setMaxWaitUnit(org.apache.tools.ant.taskdefs.WaitFor.Unit)">setMaxWaitUnit</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs">WaitFor.Unit</A> unit)</CODE>
|
---|
| 224 |
|
---|
| 225 | <BR>
|
---|
| 226 | Set the max wait time unit</TD>
|
---|
| 227 | </TR>
|
---|
| 228 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 229 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 230 | <CODE> void</CODE></FONT></TD>
|
---|
| 231 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.html#setTimeoutProperty(java.lang.String)">setTimeoutProperty</A></B>(java.lang.String p)</CODE>
|
---|
| 232 |
|
---|
| 233 | <BR>
|
---|
| 234 | Name the property to set after a timeout.</TD>
|
---|
| 235 | </TR>
|
---|
| 236 | </TABLE>
|
---|
| 237 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.condition.ConditionBase"><!-- --></A>
|
---|
| 238 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 239 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 240 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.condition.<A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html" title="class in org.apache.tools.ant.taskdefs.condition">ConditionBase</A></B></TD>
|
---|
| 241 | </TR>
|
---|
| 242 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 243 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#add(org.apache.tools.ant.taskdefs.condition.Condition)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addAnd(org.apache.tools.ant.taskdefs.condition.And)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addAvailable(org.apache.tools.ant.taskdefs.Available)">addAvailable</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addChecksum(org.apache.tools.ant.taskdefs.Checksum)">addChecksum</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addContains(org.apache.tools.ant.taskdefs.condition.Contains)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addEquals(org.apache.tools.ant.taskdefs.condition.Equals)">addEquals</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addFilesMatch(org.apache.tools.ant.taskdefs.condition.FilesMatch)">addFilesMatch</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addHttp(org.apache.tools.ant.taskdefs.condition.Http)">addHttp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addIsFalse(org.apache.tools.ant.taskdefs.condition.IsFalse)">addIsFalse</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addIsReference(org.apache.tools.ant.taskdefs.condition.IsReference)">addIsReference</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addIsSet(org.apache.tools.ant.taskdefs.condition.IsSet)">addIsSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addIsTrue(org.apache.tools.ant.taskdefs.condition.IsTrue)">addIsTrue</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addNot(org.apache.tools.ant.taskdefs.condition.Not)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addOr(org.apache.tools.ant.taskdefs.condition.Or)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addOs(org.apache.tools.ant.taskdefs.condition.Os)">addOs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addSocket(org.apache.tools.ant.taskdefs.condition.Socket)">addSocket</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#addUptodate(org.apache.tools.ant.taskdefs.UpToDate)">addUptodate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#countConditions()">countConditions</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/ConditionBase.html#getConditions()">getConditions</A></CODE></TD>
|
---|
| 244 | </TR>
|
---|
| 245 | </TABLE>
|
---|
| 246 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 247 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 248 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 249 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 250 | </TR>
|
---|
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 252 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
| 253 | </TR>
|
---|
| 254 | </TABLE>
|
---|
| 255 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 256 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 257 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 258 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 259 | </TR>
|
---|
| 260 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 261 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 262 | </TR>
|
---|
| 263 | </TABLE>
|
---|
| 264 |
|
---|
| 265 | <P>
|
---|
| 266 |
|
---|
| 267 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 268 |
|
---|
| 269 |
|
---|
| 270 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 271 |
|
---|
| 272 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 273 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 274 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 275 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 276 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 277 | </TR>
|
---|
| 278 | </TABLE>
|
---|
| 279 |
|
---|
| 280 | <A NAME="WaitFor()"><!-- --></A><H3>
|
---|
| 281 | WaitFor</H3>
|
---|
| 282 | <PRE>
|
---|
| 283 | public <B>WaitFor</B>()</PRE>
|
---|
| 284 | <DL>
|
---|
| 285 | </DL>
|
---|
| 286 |
|
---|
| 287 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 288 |
|
---|
| 289 | <A NAME="method_detail"><!-- --></A>
|
---|
| 290 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 291 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 292 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 293 | <B>Method Detail</B></FONT></TD>
|
---|
| 294 | </TR>
|
---|
| 295 | </TABLE>
|
---|
| 296 |
|
---|
| 297 | <A NAME="setMaxWait(long)"><!-- --></A><H3>
|
---|
| 298 | setMaxWait</H3>
|
---|
| 299 | <PRE>
|
---|
| 300 | public void <B>setMaxWait</B>(long time)</PRE>
|
---|
| 301 | <DL>
|
---|
| 302 | <DD>Set the maximum length of time to wait
|
---|
| 303 | <P>
|
---|
| 304 | <DD><DL>
|
---|
| 305 | </DL>
|
---|
| 306 | </DD>
|
---|
| 307 | </DL>
|
---|
| 308 | <HR>
|
---|
| 309 |
|
---|
| 310 | <A NAME="setMaxWaitUnit(org.apache.tools.ant.taskdefs.WaitFor.Unit)"><!-- --></A><H3>
|
---|
| 311 | setMaxWaitUnit</H3>
|
---|
| 312 | <PRE>
|
---|
| 313 | public void <B>setMaxWaitUnit</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs">WaitFor.Unit</A> unit)</PRE>
|
---|
| 314 | <DL>
|
---|
| 315 | <DD>Set the max wait time unit
|
---|
| 316 | <P>
|
---|
| 317 | <DD><DL>
|
---|
| 318 | </DL>
|
---|
| 319 | </DD>
|
---|
| 320 | </DL>
|
---|
| 321 | <HR>
|
---|
| 322 |
|
---|
| 323 | <A NAME="setCheckEvery(long)"><!-- --></A><H3>
|
---|
| 324 | setCheckEvery</H3>
|
---|
| 325 | <PRE>
|
---|
| 326 | public void <B>setCheckEvery</B>(long time)</PRE>
|
---|
| 327 | <DL>
|
---|
| 328 | <DD>Set the time between each check
|
---|
| 329 | <P>
|
---|
| 330 | <DD><DL>
|
---|
| 331 | </DL>
|
---|
| 332 | </DD>
|
---|
| 333 | </DL>
|
---|
| 334 | <HR>
|
---|
| 335 |
|
---|
| 336 | <A NAME="setCheckEveryUnit(org.apache.tools.ant.taskdefs.WaitFor.Unit)"><!-- --></A><H3>
|
---|
| 337 | setCheckEveryUnit</H3>
|
---|
| 338 | <PRE>
|
---|
| 339 | public void <B>setCheckEveryUnit</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs">WaitFor.Unit</A> unit)</PRE>
|
---|
| 340 | <DL>
|
---|
| 341 | <DD>Set the check every time unit
|
---|
| 342 | <P>
|
---|
| 343 | <DD><DL>
|
---|
| 344 | </DL>
|
---|
| 345 | </DD>
|
---|
| 346 | </DL>
|
---|
| 347 | <HR>
|
---|
| 348 |
|
---|
| 349 | <A NAME="setTimeoutProperty(java.lang.String)"><!-- --></A><H3>
|
---|
| 350 | setTimeoutProperty</H3>
|
---|
| 351 | <PRE>
|
---|
| 352 | public void <B>setTimeoutProperty</B>(java.lang.String p)</PRE>
|
---|
| 353 | <DL>
|
---|
| 354 | <DD>Name the property to set after a timeout.
|
---|
| 355 | <P>
|
---|
| 356 | <DD><DL>
|
---|
| 357 | </DL>
|
---|
| 358 | </DD>
|
---|
| 359 | </DL>
|
---|
| 360 | <HR>
|
---|
| 361 |
|
---|
| 362 | <A NAME="execute()"><!-- --></A><H3>
|
---|
| 363 | execute</H3>
|
---|
| 364 | <PRE>
|
---|
| 365 | public void <B>execute</B>()
|
---|
| 366 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 367 | <DL>
|
---|
| 368 | <DD>Check repeatedly for the specified conditions until they become
|
---|
| 369 | true or the timeout expires.
|
---|
| 370 | <P>
|
---|
| 371 | <DD><DL>
|
---|
| 372 |
|
---|
| 373 | <DT><B>Throws:</B>
|
---|
| 374 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 375 | </DD>
|
---|
| 376 | </DL>
|
---|
| 377 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 378 | <HR>
|
---|
| 379 |
|
---|
| 380 |
|
---|
| 381 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 382 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 383 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 384 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 385 | <TR>
|
---|
| 386 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 387 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 388 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 389 | <TR ALIGN="center" VALIGN="top">
|
---|
| 390 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 391 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 392 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 393 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 394 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 395 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 396 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 397 | </TR>
|
---|
| 398 | </TABLE>
|
---|
| 399 | </TD>
|
---|
| 400 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 401 | </EM>
|
---|
| 402 | </TD>
|
---|
| 403 | </TR>
|
---|
| 404 |
|
---|
| 405 | <TR>
|
---|
| 406 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 407 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/UpToDate.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 408 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 409 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 410 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 411 | <A HREF="WaitFor.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 412 | <SCRIPT type="text/javascript">
|
---|
| 413 | <!--
|
---|
| 414 | if(window==top) {
|
---|
| 415 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 416 | }
|
---|
| 417 | //-->
|
---|
| 418 | </SCRIPT>
|
---|
| 419 | <NOSCRIPT>
|
---|
| 420 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 421 | </NOSCRIPT>
|
---|
| 422 |
|
---|
| 423 | </FONT></TD>
|
---|
| 424 | </TR>
|
---|
| 425 | <TR>
|
---|
| 426 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 427 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.ProjectComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 428 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 429 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 430 | </TR>
|
---|
| 431 | </TABLE>
|
---|
| 432 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 433 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 434 |
|
---|
| 435 | <HR>
|
---|
| 436 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 437 | </BODY>
|
---|
| 438 | </HTML>
|
---|