org.apache.tools.ant.taskdefs
public class WaitFor extends ConditionBase
parallel
task to
synchronize the execution of tests with server startup.
The following attributes can be specified on a waitfor task:
Since: Ant 1.5
UNKNOWN: category="control"
Nested Class Summary | |
---|---|
static class | WaitFor.Unit
The enumeration of units:
millisecond, second, minute, hour, day, week |
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(String p)
Name the property to set after a timeout. |