Package | Description |
---|---|
org.codice.ddf.itests.common |
Modifier and Type | Method and Description |
---|---|
WaitCondition |
WaitCondition.checkEvery(long pollingInterval,
TimeUnit unit)
Sets the polling interval this
WaitCondition will use to re-evaluate the wait
condition. |
static WaitCondition |
WaitCondition.expect(String description)
Creates a instance of this class using the default timeout (5s) and polling interval (500ms).
|
WaitCondition |
WaitCondition.until(Callable<Boolean> condition)
Waits until the value returned by the condition is
true , or the timeout expires. |
<T> WaitCondition |
WaitCondition.until(Callable<T> currentValueRetriever,
org.hamcrest.Matcher<T> matchCondition)
Waits until the value returned by the
Callable satisfies the Matcher 's
condition, or the timeout expires. |
WaitCondition |
WaitCondition.within(long timeout,
TimeUnit unit)
Sets the timeout on this
WaitCondition . |
This work is licensed under a Creative Commons Attribution 4.0 International License.