ConditionFactory |
ConditionFactory.alias(java.lang.String alias) |
Set the alias
|
ConditionFactory |
ConditionFactory.and() |
A method to increase the readability of the Awaitility DSL.
|
ConditionFactory |
ConditionFactory.atLeast(long timeout,
java.util.concurrent.TimeUnit unit) |
Condition has to be evaluated not earlier than timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.atLeast(java.time.Duration timeout) |
Condition has to be evaluated not earlier than timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.atMost(long timeout,
java.util.concurrent.TimeUnit unit) |
Await at most timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.atMost(java.time.Duration timeout) |
Await at most timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.await() |
Await for an asynchronous operation.
|
ConditionFactory |
ConditionFactory.await(java.lang.String alias) |
Await for an asynchronous operation and give this await instance a
particular name.
|
ConditionFactory |
ConditionFactory.between(long atLeastDuration,
java.util.concurrent.TimeUnit atLeastTimeUnit,
long atMostDuration,
java.util.concurrent.TimeUnit atMostTimeUnit) |
Specifies the duration window which has to be satisfied during operation execution.
|
ConditionFactory |
ConditionFactory.between(java.time.Duration atLeast,
java.time.Duration atMost) |
Specifies the duration window which has to be satisfied during operation execution.
|
ConditionFactory |
ConditionFactory.catchUncaughtExceptions() |
Instruct Awaitility to catch uncaught exceptions from other threads.
|
ConditionFactory |
ConditionFactory.conditionEvaluationListener(ConditionEvaluationListener conditionEvaluationListener) |
Handle condition evaluation results each time evaluation of a condition occurs.
|
ConditionFactory |
ConditionFactory.dontCatchUncaughtExceptions() |
Don't catch uncaught exceptions in other threads.
|
ConditionFactory |
ConditionFactory.during(long timeout,
java.util.concurrent.TimeUnit unit) |
Await at the predicate holds during at least timeout
|
ConditionFactory |
ConditionFactory.during(java.time.Duration timeout) |
Await at the predicate holds during at least timeout
|
ConditionFactory |
ConditionFactory.failFast(java.lang.String failFastFailureReason,
java.util.concurrent.Callable<java.lang.Boolean> failFastCondition) |
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
|
ConditionFactory |
ConditionFactory.failFast(java.lang.String failFastFailureReason,
ThrowingRunnable failFastAssertion) |
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
|
ConditionFactory |
ConditionFactory.failFast(java.util.concurrent.Callable<java.lang.Boolean> failFastCondition) |
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
|
ConditionFactory |
ConditionFactory.failFast(ThrowingRunnable failFastAssertion) |
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
|
ConditionFactory |
ConditionFactory.forever() |
Await forever until the condition is satisfied.
|
ConditionFactory |
ConditionFactory.given() |
A method to increase the readability of the Awaitility DSL.
|
ConditionFactory |
ConditionFactory.ignoreException(java.lang.Class<? extends java.lang.Throwable> exceptionType) |
Instruct Awaitility to ignore a specific exception and no subclasses of this exception.
|
ConditionFactory |
ConditionFactory.ignoreExceptions() |
Instruct Awaitility to ignore all exceptions that occur during evaluation.
|
ConditionFactory |
ConditionFactory.ignoreExceptionsInstanceOf(java.lang.Class<? extends java.lang.Throwable> exceptionType) |
Instruct Awaitility to ignore exceptions instance of the supplied exceptionType type.
|
ConditionFactory |
ConditionFactory.ignoreExceptionsMatching(java.util.function.Predicate<? super java.lang.Throwable> predicate) |
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied predicate.
|
ConditionFactory |
ConditionFactory.ignoreExceptionsMatching(org.hamcrest.Matcher<? super java.lang.Throwable> matcher) |
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied Hamcrest matcher.
|
ConditionFactory |
ConditionFactory.ignoreNoExceptions() |
Instruct Awaitility to not ignore any exceptions that occur during evaluation.
|
ConditionFactory |
ConditionFactory.logging() |
Logging condition evaluation results each time evaluation of a condition occurs to System.out.
|
ConditionFactory |
ConditionFactory.logging(java.util.function.Consumer<java.lang.String> logPrinter) |
Logging condition evaluation results each time evaluation of a condition occurs to chosen consumer.
|
ConditionFactory |
ConditionFactory.pollDelay(long delay,
java.util.concurrent.TimeUnit unit) |
Specify the delay that will be used before Awaitility starts polling for
the result the first time.
|
ConditionFactory |
ConditionFactory.pollDelay(java.time.Duration pollDelay) |
Specify the delay that will be used before Awaitility starts polling for
the result the first time.
|
ConditionFactory |
ConditionFactory.pollExecutorService(java.util.concurrent.ExecutorService executorService) |
Specify the executor service whose threads will be used to evaluate the poll condition in Awaitility.
|
ConditionFactory |
ConditionFactory.pollInSameThread() |
Instructs Awaitility to execute the polling of the condition from the same as the test.
|
ConditionFactory |
ConditionFactory.pollInterval(long pollInterval,
java.util.concurrent.TimeUnit unit) |
Specify the polling interval Awaitility will use for this await
statement.
|
ConditionFactory |
ConditionFactory.pollInterval(java.time.Duration pollInterval) |
Specify the polling interval Awaitility will use for this await
statement.
|
ConditionFactory |
ConditionFactory.pollInterval(PollInterval pollInterval) |
|
ConditionFactory |
ConditionFactory.pollThread(java.util.function.Function<java.lang.Runnable,java.lang.Thread> threadSupplier) |
Specify a thread supplier whose thread will be used to evaluate the poll condition in Awaitility.
|
ConditionFactory |
ConditionFactory.then() |
A method to increase the readability of the Awaitility DSL.
|
ConditionFactory |
ConditionFactory.timeout(long timeout,
java.util.concurrent.TimeUnit unit) |
Await at most timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.timeout(java.time.Duration timeout) |
Await at most timeout before throwing a timeout exception.
|
ConditionFactory |
ConditionFactory.with() |
A method to increase the readability of the Awaitility DSL.
|