|
WaitFor (Apache Ant API)
org.apache.tools.ant.taskdefs
|
Nested Class Summary | |
static class |
WaitFor.Unit
The enumeration of units: millisecond, second, minute, hour, day, week |
Field Summary |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
WaitFor()
|
Method Summary | |
void |
execute()
Check repeatedly for the specified conditions until they become true or the timeout expires. |
void |
setCheckEvery(long time)
Set the time between each check |
void |
setCheckEveryUnit(WaitFor.Unit unit)
Set the check every time unit |
void |
setMaxWait(long time)
Set the maximum length of time to wait |
void |
setMaxWaitUnit(WaitFor.Unit unit)
Set the max wait time unit |
void |
setTimeoutProperty(java.lang.String p)
Name the property to set after a timeout. |
Methods inherited from class org.apache.tools.ant.taskdefs.condition.ConditionBase |
addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WaitFor()
Method Detail |
public void setMaxWait(long time)
public void setMaxWaitUnit(WaitFor.Unit unit)
public void setCheckEvery(long time)
public void setCheckEveryUnit(WaitFor.Unit unit)
public void setTimeoutProperty(java.lang.String p)
public void execute() throws BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |