Modifier and Type | Method | Description |
---|---|---|
WaitResultBuilder3<T> |
WaitResultBuilder2.expecting(Predicate<T> acceptingClause) |
Specify the condition that accept the result.
|
default WaitResultBuilder3<T> |
WaitResultBuilder2.expectingAllOf(Predicate<T> acceptingClause1,
Predicate<T>... next) |
Specify that at all conditions must accept the result.
|
default WaitResultBuilder3<T> |
WaitResultBuilder2.expectingAnyOf(Predicate<T> acceptingClause1,
Predicate<T>... next) |
Specify that at least one condition must accept the result.
|
default WaitResultBuilder3<T> |
WaitResultBuilder2.expectingEqualsTo(T other) |
Specify that the returned result must be equals to the received object.
|
default WaitResultBuilder3<T> |
WaitResultBuilder2.expectingNot(Predicate<T> notAcceptingClause) |
Specify the condition that doesn't accept the result.
|
default WaitResultBuilder3<T> |
WaitResultBuilder2.expectingNotNull() |
Specify that the returned result must be not null.
|
static WaitResultBuilder3<Exception> |
WaitResult.forException(Callable<?> action) |
Start the builder to create an instance of
CompletableFuture based on
repeated control of a call that is assumed as OK when an exception is thrown. |
static WaitResultBuilder3<Boolean> |
WaitResult.ofRunnable(Runnable action) |
Start the builder to create an instance of
CompletableFuture based on
execution of the received action, with repetition until some condition. |
static WaitResultBuilder3<Boolean> |
WaitResult.onCondition(Supplier<Boolean> conditionSupplier) |
Start the builder to create an instance of
CompletableFuture based on
repeated control on a method returning a boolean. |
Copyright © 2021. All rights reserved.