Package org.awaitility.constraint
Interface WaitConstraint
- All Known Implementing Classes:
AtMostWaitConstraint,HoldsPredicateWaitConstraint,IntervalWaitConstraint
public interface WaitConstraint
Interface that defines the wait strategy.
Max wait time stands for upper bound of condition evaluation duration. Min wait time stands for lower bound condition
evaluation duration. In case operation is executed before getMinWaitTime the exception is thrown indicating that
condition shouldn't be executed earlier than specified amount of time. Also operation is not allowed to be
executed longer than getMaxWaitTime.
-
Method Summary
Modifier and TypeMethodDescriptionwithHoldPredicateTime(Duration holdConditionTime) withMaxWaitTime(Duration maxWaitTime) withMinWaitTime(Duration minWaitTime)