| Package | Description |
|---|---|
| cz.xtf.core.waiting |
| Modifier and Type | Method and Description |
|---|---|
SimpleWaiter |
SimpleWaiter.failFast(FailFastCheck failFast)
Set the condition which will be evaluated before other conditions are checked.
|
SimpleWaiter |
SimpleWaiter.failureCondition(BooleanSupplier failureCondition)
Set a failure condition.
|
SimpleWaiter |
SimpleWaiter.interval(long millis)
Set the amount of time the wait will rest after checking all the conditions in the evaluation routine
|
SimpleWaiter |
SimpleWaiter.interval(TimeUnit timeUnit,
long t)
Set the amount of time the wait will rest after checking all the conditions in the evaluation routine.
|
SimpleWaiter |
SimpleWaiter.level(org.slf4j.event.Level level)
Set the log level of messages produced during this wait.
|
SimpleWaiter |
SimpleWaiter.logPoint(Waiter.LogPoint logPoint)
Set XTF Waiter specific log configuration.
|
SimpleWaiter |
SimpleWaiter.onFailure(Runnable runnable)
Set the
Runnable to be executed after the failureCondition has been met. |
SimpleWaiter |
SimpleWaiter.onIteration(Runnable runnable)
Set the
Runnable to be executed upon each iteration of the evaluation cycle. |
SimpleWaiter |
SimpleWaiter.onSuccess(Runnable runnable)
Set the
Runnable to be executed after the successCondition has been met. |
SimpleWaiter |
SimpleWaiter.onTimeout(Runnable runnable)
Set a
Runnable to be executed upon timeout. |
SimpleWaiter |
SimpleWaiter.reason(String reason)
Set the description of the reason why this wait is being performed.
|
SimpleWaiter |
SimpleWaiter.timeout(long millis)
Set the maximum time windows in which the periodical evaluation of failure and success conditions will be done.
|
SimpleWaiter |
SimpleWaiter.timeout(TimeUnit timeUnit,
long t)
Set the maximum time windows in which the periodical evaluation of failure and success conditions will be done.
|
Copyright © 2025. All rights reserved.