Skip navigation links
A B C D E F G H I M N O P R S T U W 

A

AbstractHamcrestCondition<T> - Class in org.awaitility.core
 
AbstractHamcrestCondition(Callable<T>, Matcher<? super T>, ConditionSettings) - Constructor for class org.awaitility.core.AbstractHamcrestCondition
Constructor for AbstractHamcrestCondition.
alias(String) - Method in class org.awaitility.core.ConditionFactory
Set the alias
and() - Method in class org.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
and() - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Syntactic sugar
andAnnotatedWith(Class<? extends Annotation>) - Method in class org.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
Find a field based on a name, type and annotation.
andAnnotatedWith(Class<? extends Annotation>) - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
Find a field based on the type and an annotation.
andOfType(Class<S>) - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
Find a field based on the annotation and field type.
andWithName(String) - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
Find a field based on the type and name.
andWithName(String) - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
Find a field based on the annotation and field name.
andWithName(String) - Method in class org.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
Find a field based on the type and name.
AnnotationFieldSupplier() - Constructor for class org.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
 
AssertionCondition - Class in org.awaitility.core
Condition implementation which takes an executable assertion which should throw AssertionError on assertion failure.
AssertionCondition(ThrowingRunnable, ConditionSettings) - Constructor for class org.awaitility.core.AssertionCondition
Constructor for AssertionCondition.
atLeast(Duration) - Method in class org.awaitility.core.ConditionFactory
Condition has to be evaluated not earlier than timeout before throwing a timeout exception.
atLeast(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Condition has to be evaluated not earlier than timeout before throwing a timeout exception.
atMost(Duration) - Method in class org.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
atMost(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
AtMostWaitConstraint - Class in org.awaitility.constraint
 
await() - Static method in class org.awaitility.Awaitility
Start building an await statement.
await(String) - Static method in class org.awaitility.Awaitility
Start building a named await statement.
await() - Method in class org.awaitility.core.AbstractHamcrestCondition
await.
await() - Method in class org.awaitility.core.AssertionCondition
await.
await() - Method in interface org.awaitility.core.Condition
Await for the condition to complete
await() - Method in class org.awaitility.core.ConditionFactory
Await for an asynchronous operation.
await(String) - Method in class org.awaitility.core.ConditionFactory
Await for an asynchronous operation and give this await instance a particular name.
Awaitility - Class in org.awaitility
Awaitility is a small Java DSL for synchronizing (waiting for) asynchronous operations.
Awaitility() - Constructor for class org.awaitility.Awaitility
 

B

beforeEvaluation(StartEvaluationEvent<T>) - Method in interface org.awaitility.core.ConditionEvaluationListener
Handle the startEvaluationEvent.
beforeEvaluation(StartEvaluationEvent<Object>) - Method in class org.awaitility.core.ConditionEvaluationLogger
 
between(Duration, Duration) - Method in class org.awaitility.core.ConditionFactory
Specifies the duration window which has to be satisfied during operation execution.
between(long, TimeUnit, long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Specifies the duration window which has to be satisfied during operation execution.

C

call() - Method in class org.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
 
call() - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
 
call() - Method in class org.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
 
call() - Method in class org.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
 
CallableFailFastCondition(String, Callable<Boolean>) - Constructor for class org.awaitility.core.FailFastCondition.CallableFailFastCondition
 
catchUncaughtExceptions() - Static method in class org.awaitility.Awaitility
Catching uncaught exceptions in other threads.
catchUncaughtExceptions() - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to catch uncaught exceptions from other threads.
catchUncaughtExceptionsByDefault() - Static method in class org.awaitility.Awaitility
Instruct Awaitility to catch uncaught exceptions from other threads by default.
CheckedExceptionRethrower - Class in org.awaitility.core
This is an internal class and should NOT be used outside of Awaitility! Use it at own risk (please don't :)).
CheckedExceptionRethrower() - Constructor for class org.awaitility.core.CheckedExceptionRethrower
 
ClassPathResolver - Class in org.awaitility.classpath
 
ClassPathResolver() - Constructor for class org.awaitility.classpath.ClassPathResolver
 
Condition<T> - Interface in org.awaitility.core
 
conditionEvaluated(EvaluatedCondition<T>) - Method in interface org.awaitility.core.ConditionEvaluationListener
Handle an evaluated condition of a matcher.
conditionEvaluated(EvaluatedCondition<Object>) - Method in class org.awaitility.core.ConditionEvaluationLogger
 
ConditionEvaluationListener<T> - Interface in org.awaitility.core
A ConditionEvaluationListener is called each time a condition has been evaluated by Awaitility.
conditionEvaluationListener(ConditionEvaluationListener) - Method in class org.awaitility.core.ConditionFactory
Handle condition evaluation results each time evaluation of a condition occurs.
ConditionEvaluationLogger - Class in org.awaitility.core
Simple implementation of ConditionEvaluationListener that prints the condition evaluation results to the console using System.out.println by default.
ConditionEvaluationLogger() - Constructor for class org.awaitility.core.ConditionEvaluationLogger
Uses TimeUnit.MILLISECONDS as unit for elapsed and remaining time.
ConditionEvaluationLogger(Consumer<String>) - Constructor for class org.awaitility.core.ConditionEvaluationLogger
Specifies a consumer that is responsible for actually printing the logs
ConditionEvaluationLogger(TimeUnit) - Constructor for class org.awaitility.core.ConditionEvaluationLogger
Specifies the TimeUnit to use as unit for elapsed and remaining time.
ConditionEvaluationLogger(Consumer<String>, TimeUnit) - Constructor for class org.awaitility.core.ConditionEvaluationLogger
 
conditionEvaluationLogger(Consumer<String>) - Static method in class org.awaitility.core.ConditionEvaluationLogger
Syntactic sugar to avoid writing the new keyword in Java.
conditionEvaluationLogger() - Static method in class org.awaitility.core.ConditionEvaluationLogger
Syntactic sugar to avoid writing the new keyword in Java.
conditionEvaluationLogger(TimeUnit) - Static method in class org.awaitility.core.ConditionEvaluationLogger
Syntactic sugar to avoid writing the new keyword in Java.
ConditionFactory - Class in org.awaitility.core
A factory for creating Condition objects.
ConditionFactory(String, WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener, ExecutorLifecycle, FailFastCondition) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionSettings - Class in org.awaitility.core
 
ConditionTimeoutException - Exception in org.awaitility.core
A runtime exception thrown by Awaitility when a condition was not fulfilled within the specified threshold.
ConditionTimeoutException(String) - Constructor for exception org.awaitility.core.ConditionTimeoutException
Constructor for ConditionTimeoutException.
ConditionTimeoutException(String, Throwable) - Constructor for exception org.awaitility.core.ConditionTimeoutException
Constructor for ConditionTimeoutException.
create(Function<Runnable, Thread>) - Static method in class org.awaitility.core.InternalExecutorServiceFactory
Creates an executor service that creates thread's based on the thread supplier
create(BiFunction<Runnable, String, Thread>, String) - Static method in class org.awaitility.core.InternalExecutorServiceFactory
Creates an executor services that creates thread's based on the thread supplier.

D

DeadlockException - Class in org.awaitility.core
A Throwable used as a cause if deadlocked threads are detected by Awaitility.
DeadlockException(long[]) - Constructor for class org.awaitility.core.DeadlockException
 
doNotCatchUncaughtExceptionsByDefault() - Static method in class org.awaitility.Awaitility
Instruct Awaitility not to catch uncaught exceptions from other threads.
dontCatchUncaughtExceptions() - Static method in class org.awaitility.Awaitility
Don't catch uncaught exceptions in other threads.
dontCatchUncaughtExceptions() - Method in class org.awaitility.core.ConditionFactory
Don't catch uncaught exceptions in other threads.
DurationFactory - Class in org.awaitility.core
 
DurationFactory() - Constructor for class org.awaitility.core.DurationFactory
 
Durations - Class in org.awaitility
Duration class.
Durations() - Constructor for class org.awaitility.Durations
 
during(Duration) - Method in class org.awaitility.core.ConditionFactory
Await at the predicate holds during at least timeout
during(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Await at the predicate holds during at least timeout

E

equals(Object) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
 
equals(Object) - Method in class org.awaitility.pollinterval.FixedPollInterval
 
equals(Object) - Method in class org.awaitility.pollinterval.IterativePollInterval
 
EvaluatedCondition<T> - Class in org.awaitility.core
Contains properties of the condition at its current stage.
exceptionIgnored(IgnoredException) - Method in interface org.awaitility.core.ConditionEvaluationListener
Handle ignored exception that get thrown while condition evaluation.
exceptionIgnored(IgnoredException) - Method in class org.awaitility.core.ConditionEvaluationLogger
 
ExceptionIgnorer - Interface in org.awaitility.core
 
ExecutorLifecycle - Class in org.awaitility.core
Handles the lifecycle of an executor service.
existInCP(String) - Static method in class org.awaitility.classpath.ClassPathResolver
 

F

failFast(Callable<Boolean>) - Method in class org.awaitility.core.ConditionFactory
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
failFast(String, Callable<Boolean>) - Method in class org.awaitility.core.ConditionFactory
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
failFast(ThrowingRunnable) - Method in class org.awaitility.core.ConditionFactory
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
failFast(String, ThrowingRunnable) - Method in class org.awaitility.core.ConditionFactory
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
FailFastAssertion(String, ThrowingRunnable) - Constructor for class org.awaitility.core.FailFastCondition.CallableFailFastCondition.FailFastAssertion
 
FailFastCondition - Class in org.awaitility.core
 
FailFastCondition.CallableFailFastCondition - Class in org.awaitility.core
 
FailFastCondition.CallableFailFastCondition.FailFastAssertion - Class in org.awaitility.core
 
fibonacci() - Static method in class org.awaitility.pollinterval.FibonacciPollInterval
Syntactic sugar for new FibonacciPollInterval()
fibonacci(TimeUnit) - Static method in class org.awaitility.pollinterval.FibonacciPollInterval
Syntactic sugar for new FibonacciPollInterval(unit)
fibonacci(int, TimeUnit) - Static method in class org.awaitility.pollinterval.FibonacciPollInterval
Syntactic sugar for new FibonacciPollInterval(offset, unit)
fibonacci(int) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Generate the value of the fibonacci sequence for number.
FibonacciPollInterval - Class in org.awaitility.pollinterval
Generates a non-linear poll interval based on the fibonacci sequence: [0, 1, 1, 2, 3, 5, 8, 13, ..]
FibonacciPollInterval() - Constructor for class org.awaitility.pollinterval.FibonacciPollInterval
Create an instance of the FibonacciPollInterval with the time unit of TimeUnit.MILLISECONDS.
FibonacciPollInterval(TimeUnit) - Constructor for class org.awaitility.pollinterval.FibonacciPollInterval
Create an instance of the FibonacciPollInterval with the supplied time unit starting with offset equal to .
FibonacciPollInterval(int, TimeUnit) - Constructor for class org.awaitility.pollinterval.FibonacciPollInterval
Create an instance of the FibonacciPollInterval with a supplied time unit.
FieldAnnotationMatcherStrategy - Class in org.awaitility.reflect
FieldAnnotationMatcherStrategy class.
FieldAnnotationMatcherStrategy(Class<? extends Annotation>) - Constructor for class org.awaitility.reflect.FieldAnnotationMatcherStrategy
Constructor for FieldAnnotationMatcherStrategy.
fieldIn(Object) - Static method in class org.awaitility.Awaitility
Await until an instance field matches something.
fieldIn(Class<?>) - Static method in class org.awaitility.Awaitility
Await until a static field matches something.
FieldNotFoundException - Exception in org.awaitility.reflect.exception
A run-time exception that may be thrown to indicate that a field was not found.
FieldNotFoundException(String) - Constructor for exception org.awaitility.reflect.exception.FieldNotFoundException
Constructs a new exception with the specified detail message.
FieldSupplierBuilder - Class in org.awaitility.core
The field supplier builder allows you to create a supplier based a field.
FieldSupplierBuilder(Object) - Constructor for class org.awaitility.core.FieldSupplierBuilder
Constructor for FieldSupplierBuilder.
FieldSupplierBuilder.AnnotationFieldSupplier<T> - Class in org.awaitility.core
 
FieldSupplierBuilder.NameAndAnnotationFieldSupplier<T> - Class in org.awaitility.core
 
FieldSupplierBuilder.NameAndTypeFieldSupplier<T> - Class in org.awaitility.core
 
FieldSupplierBuilder.NameFieldSupplier<T> - Class in org.awaitility.core
 
FIVE_HUNDRED_MILLISECONDS - Static variable in class org.awaitility.Durations
Constant FIVE_HUNDRED_MILLISECONDS
FIVE_MINUTES - Static variable in class org.awaitility.Durations
Constant FIVE_MINUTES
FIVE_SECONDS - Static variable in class org.awaitility.Durations
Constant FIVE_SECONDS
fixed(Duration) - Static method in class org.awaitility.pollinterval.FixedPollInterval
Syntactic sugar for create a new instance of FixedPollInterval.
fixed(long, TimeUnit) - Static method in class org.awaitility.pollinterval.FixedPollInterval
Syntactic sugar for create a new instance of FixedPollInterval.
FixedPollInterval - Class in org.awaitility.pollinterval
Generates a fixed (linear) poll interval based on the supplied duration
FixedPollInterval(Duration) - Constructor for class org.awaitility.pollinterval.FixedPollInterval
Create a new instance of the FixedPollInterval.
FixedPollInterval(long, TimeUnit) - Constructor for class org.awaitility.pollinterval.FixedPollInterval
Create a new instance of the FixedPollInterval.
FOREVER - Static variable in class org.awaitility.constraint.AtMostWaitConstraint
 
forever() - Method in class org.awaitility.core.ConditionFactory
Await forever until the condition is satisfied.
FOREVER - Static variable in class org.awaitility.core.ForeverDuration
Constant FOREVER
FOREVER - Static variable in class org.awaitility.Durations
Constant FOREVER
ForeverDuration - Class in org.awaitility.core
 
ForeverDuration() - Constructor for class org.awaitility.core.ForeverDuration
 

G

get() - Static method in class org.awaitility.core.OriginalDefaultUncaughtExceptionHandler
 
getAlias() - Method in class org.awaitility.core.ConditionSettings
Getter for the field alias.
getAlias() - Method in class org.awaitility.core.EvaluatedCondition
 
getAlias() - Method in class org.awaitility.core.IgnoredException
 
getAlias() - Method in class org.awaitility.core.StartEvaluationEvent
 
getAlias() - Method in class org.awaitility.core.TimeoutEvent
 
getByNameAndType(Object, String, Class<T>) - Static method in class org.awaitility.reflect.WhiteboxImpl
getByNameAndType.
getCallableDescription(Callable<T>) - Method in class org.awaitility.core.AbstractHamcrestCondition
 
getConditionEvaluationListener() - Method in class org.awaitility.core.ConditionSettings
Getter for the field conditionResultLogger
getDescription() - Method in class org.awaitility.core.EvaluatedCondition
 
getDescription() - Method in class org.awaitility.core.StartEvaluationEvent
 
getDescription() - Method in class org.awaitility.core.TimeoutEvent
 
getElapsedTimeInMS() - Method in class org.awaitility.core.EvaluatedCondition
 
getElapsedTimeInMS() - Method in class org.awaitility.core.IgnoredException
 
getElapsedTimeInMS() - Method in class org.awaitility.core.StartEvaluationEvent
 
getElapsedTimeInMS() - Method in class org.awaitility.core.TimeoutEvent
 
getExecutorLifecycle() - Method in class org.awaitility.core.ConditionSettings
 
getFailFastAssertion() - Method in class org.awaitility.core.FailFastCondition.CallableFailFastCondition.FailFastAssertion
 
getFailFastCondition() - Method in class org.awaitility.core.ConditionSettings
 
getFailFastCondition() - Method in class org.awaitility.core.FailFastCondition.CallableFailFastCondition
 
getFailFastFailureReason() - Method in class org.awaitility.core.FailFastCondition.CallableFailFastCondition.FailFastAssertion
 
getFailFastFailureReason() - Method in class org.awaitility.core.FailFastCondition.CallableFailFastCondition
 
getFailFastFailureReason() - Method in class org.awaitility.core.FailFastCondition
 
getFieldAnnotatedWith(Object, Class<? extends Annotation>) - Static method in class org.awaitility.reflect.WhiteboxImpl
Get field annotated with a particular annotation.
getHoldPredicateTime() - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
getHoldPredicateTime() - Method in class org.awaitility.constraint.HoldsPredicateWaitConstraint
 
getHoldPredicateTime() - Method in interface org.awaitility.constraint.WaitConstraint
 
getHoldPredicateTime() - Method in class org.awaitility.core.ConditionSettings
Returning hold predicate wait time from field waitConstraint.
getInternalState(Object, String) - Static method in class org.awaitility.reflect.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, Class<T>) - Static method in class org.awaitility.reflect.WhiteboxImpl
Get the value of a field using reflection.
getMatcher() - Method in class org.awaitility.core.EvaluatedCondition
 
getMatcher() - Method in class org.awaitility.core.StartEvaluationEvent
 
getMaxWaitTime() - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
getMaxWaitTime() - Method in interface org.awaitility.constraint.WaitConstraint
 
getMaxWaitTime() - Method in class org.awaitility.core.ConditionSettings
Returning maximum wait time from field waitConstraint.
getMessage() - Method in class org.awaitility.core.DeadlockException
 
getMinWaitTime() - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
getMinWaitTime() - Method in class org.awaitility.constraint.IntervalWaitConstraint
 
getMinWaitTime() - Method in interface org.awaitility.constraint.WaitConstraint
 
getMinWaitTime() - Method in class org.awaitility.core.ConditionSettings
Returning minimum wait time from field waitConstraint.
getPollDelay() - Method in class org.awaitility.core.ConditionSettings
Getter for the field pollDelay.
getPollInterval() - Method in class org.awaitility.core.ConditionSettings
Getter for the field pollInterval.
getPollInterval() - Method in class org.awaitility.core.EvaluatedCondition
 
getRemainingTimeInMS() - Method in class org.awaitility.core.EvaluatedCondition
 
getRemainingTimeInMS() - Method in class org.awaitility.core.IgnoredException
 
getRemainingTimeInMS() - Method in class org.awaitility.core.StartEvaluationEvent
 
getRemainingTimeInMS() - Method in class org.awaitility.core.TimeoutEvent
 
getThreadInfos() - Method in class org.awaitility.core.DeadlockException
 
getThrowable() - Method in class org.awaitility.core.IgnoredException
 
getType(Object) - Static method in class org.awaitility.reflect.WhiteboxImpl
Gets the type.
getValue() - Method in class org.awaitility.core.EvaluatedCondition
 
given() - Static method in class org.awaitility.Awaitility
Start constructing an await statement given some settings.
given() - Method in class org.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.

H

HamcrestExceptionIgnorer - Class in org.awaitility.core
 
HamcrestExceptionIgnorer(Matcher<? super Throwable>) - Constructor for class org.awaitility.core.HamcrestExceptionIgnorer
 
hasAlias() - Method in class org.awaitility.core.ConditionSettings
hasAlias
hasAlias() - Method in class org.awaitility.core.EvaluatedCondition
 
hashCode() - Method in class org.awaitility.pollinterval.FibonacciPollInterval
 
hashCode() - Method in class org.awaitility.pollinterval.FixedPollInterval
 
hashCode() - Method in class org.awaitility.pollinterval.IterativePollInterval
 
HoldsPredicateWaitConstraint - Class in org.awaitility.constraint
 

I

IgnoredException - Class in org.awaitility.core
 
IgnoredException(Throwable, long, long, String) - Constructor for class org.awaitility.core.IgnoredException
 
ignoreException(Class<? extends Throwable>) - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to ignore a specific exception and no subclasses of this exception.
ignoreExceptionByDefault(Class<? extends Throwable>) - Static method in class org.awaitility.Awaitility
Instruct Awaitility to ignore caught exception of the given type during condition evaluation.
ignoreExceptions() - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to ignore all exceptions that occur during evaluation.
ignoreExceptionsByDefault() - Static method in class org.awaitility.Awaitility
Instruct Awaitility to ignore caught or uncaught exceptions during condition evaluation.
ignoreExceptionsByDefaultMatching(Predicate<? super Throwable>) - Static method in class org.awaitility.Awaitility
Instruct Awaitility to ignore caught exceptions matching the given predicate during condition evaluation.
ignoreExceptionsByDefaultMatching(Matcher<? super Throwable>) - Static method in class org.awaitility.Awaitility
Instruct Awaitility to ignore caught exceptions matching the supplied matcher during condition evaluation.
ignoreExceptionsInstanceOf(Class<? extends Throwable>) - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions instance of the supplied exceptionType type.
ignoreExceptionsMatching(Matcher<? super Throwable>) - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied Hamcrest matcher.
ignoreExceptionsMatching(Predicate<? super Throwable>) - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied predicate.
ignoreNoExceptions() - Method in class org.awaitility.core.ConditionFactory
Instruct Awaitility to not ignore any exceptions that occur during evaluation.
InternalExecutorServiceFactory - Class in org.awaitility.core
Please don't use this class directly, it's for internal purposes only and will be moved/renamed without notice!
InternalExecutorServiceFactory() - Constructor for class org.awaitility.core.InternalExecutorServiceFactory
 
IntervalWaitConstraint - Class in org.awaitility.constraint
 
isClass(Object) - Static method in class org.awaitility.reflect.WhiteboxImpl
Checks if is class.
isConditionIsFulfilled() - Method in class org.awaitility.core.TimeoutEvent
 
isConditionRunningForever() - Method in class org.awaitility.core.EvaluatedCondition
 
isForever(Duration) - Static method in class org.awaitility.core.ForeverDuration
isForever.
isHamcrestCondition() - Method in class org.awaitility.core.EvaluatedCondition
 
isSatisfied() - Method in class org.awaitility.core.EvaluatedCondition
 
iterative(Function<Duration, Duration>) - Static method in class org.awaitility.pollinterval.IterativePollInterval
Syntactic sugar for creating a IterativePollInterval.
iterative(Function<Duration, Duration>, Duration) - Static method in class org.awaitility.pollinterval.IterativePollInterval
Syntactic sugar for creating a IterativePollInterval.
IterativePollInterval - Class in org.awaitility.pollinterval
A poll interval that is generated by a function and a start duration.
IterativePollInterval(Function<Duration, Duration>) - Constructor for class org.awaitility.pollinterval.IterativePollInterval
Generate an iterative poll interval based on the supplied function.
IterativePollInterval(Function<Duration, Duration>, Duration) - Constructor for class org.awaitility.pollinterval.IterativePollInterval
Generate a iterative poll interval based on the supplied function and start duration.

M

matches(Field) - Method in class org.awaitility.reflect.FieldAnnotationMatcherStrategy
A field matcher that checks if a field matches a given criteria.

N

NameAndAnnotationFieldSupplier() - Constructor for class org.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
 
NameAndTypeFieldSupplier() - Constructor for class org.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
 
NameFieldSupplier() - Constructor for class org.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
 
next(int, Duration) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Generate the next duration
next(int, Duration) - Method in class org.awaitility.pollinterval.FixedPollInterval
Generate the next duration
next(int, Duration) - Method in class org.awaitility.pollinterval.IterativePollInterval
Generate the next Duration based on the supplied function.
next(int, Duration) - Method in interface org.awaitility.pollinterval.PollInterval
Generate the next poll interval (Duration) based on the previous Duration and/or the poll count.
notFound(Class<?>, boolean) - Method in class org.awaitility.reflect.FieldAnnotationMatcherStrategy
Throws an FieldNotFoundException if the strategy criteria could not be found.

O

of(long, TimeUnit) - Static method in class org.awaitility.core.DurationFactory
 
offset(int) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Create a new FibonacciPollInterval with the same time unit but with a different offset
ofType(Class<T>) - Method in class org.awaitility.core.FieldSupplierBuilder
Find a field based on a type.
ONE_HUNDRED_MILLISECONDS - Static variable in class org.awaitility.Durations
Constant ONE_HUNDRED_MILLISECONDS
ONE_MILLISECOND - Static variable in class org.awaitility.Durations
Constant ONE_MILLISECOND
ONE_MINUTE - Static variable in class org.awaitility.Durations
Constant ONE_MINUTE
ONE_SECOND - Static variable in class org.awaitility.Durations
Constant ONE_SECOND
onTimeout(TimeoutEvent) - Method in interface org.awaitility.core.ConditionEvaluationListener
Handle the timeoutEvent.
onTimeout(TimeoutEvent) - Method in class org.awaitility.core.ConditionEvaluationLogger
 
org.awaitility - package org.awaitility
 
org.awaitility.classpath - package org.awaitility.classpath
 
org.awaitility.constraint - package org.awaitility.constraint
 
org.awaitility.core - package org.awaitility.core
 
org.awaitility.pollinterval - package org.awaitility.pollinterval
 
org.awaitility.reflect - package org.awaitility.reflect
 
org.awaitility.reflect.exception - package org.awaitility.reflect.exception
 
org.awaitility.spi - package org.awaitility.spi
 
OriginalDefaultUncaughtExceptionHandler - Class in org.awaitility.core
 
OriginalDefaultUncaughtExceptionHandler() - Constructor for class org.awaitility.core.OriginalDefaultUncaughtExceptionHandler
 

P

pollDelay(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Specify the delay that will be used before Awaitility starts polling for the result the first time.
pollDelay(Duration) - Method in class org.awaitility.core.ConditionFactory
Specify the delay that will be used before Awaitility starts polling for the result the first time.
pollExecutorService(ExecutorService) - Static method in class org.awaitility.Awaitility
Specify the executor service whose threads will be used to evaluate the poll condition in Awaitility.
pollExecutorService(ExecutorService) - Method in class org.awaitility.core.ConditionFactory
Specify the executor service whose threads will be used to evaluate the poll condition in Awaitility.
pollInSameThread() - Static method in class org.awaitility.Awaitility
Instructs Awaitility to execute the polling of the condition from the same as the test.
pollInSameThread() - Method in class org.awaitility.core.ConditionFactory
Instructs Awaitility to execute the polling of the condition from the same as the test.
pollInterval(Duration) - Method in class org.awaitility.core.ConditionFactory
Specify the polling interval Awaitility will use for this await statement.
pollInterval(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Specify the polling interval Awaitility will use for this await statement.
pollInterval(PollInterval) - Method in class org.awaitility.core.ConditionFactory
 
PollInterval - Interface in org.awaitility.pollinterval
A poll interval represents how often Awaitility will pause before reevaluating the supplied condition.
pollThread(Function<Runnable, Thread>) - Static method in class org.awaitility.Awaitility
Specify a thread supplier whose thread will be used to evaluate the poll condition in Awaitility.
pollThread(Function<Runnable, Thread>) - Method in class org.awaitility.core.ConditionFactory
Specify a thread supplier whose thread will be used to evaluate the poll condition in Awaitility.
PredicateExceptionIgnorer - Class in org.awaitility.core
 
PredicateExceptionIgnorer(Predicate<? super Throwable>) - Constructor for class org.awaitility.core.PredicateExceptionIgnorer
 

R

reset() - Static method in class org.awaitility.Awaitility
Reset the timeout, poll interval, poll delay, uncaught exception handling to their default values:
run() - Method in interface org.awaitility.core.ThrowingRunnable
 

S

safeRethrow(Throwable) - Static method in class org.awaitility.core.CheckedExceptionRethrower
safeRethrow.
sameThreadExecutorService() - Static method in class org.awaitility.core.InternalExecutorServiceFactory
 
set(Thread.UncaughtExceptionHandler) - Static method in class org.awaitility.core.OriginalDefaultUncaughtExceptionHandler
 
setDefaultConditionEvaluationListener(ConditionEvaluationListener) - Static method in class org.awaitility.Awaitility
Sets the default condition evaluation listener that all await statements will use.
setDefaultFailFastCondition(Callable<Boolean>) - Static method in class org.awaitility.Awaitility
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
setDefaultFailFastCondition(ThrowingRunnable) - Static method in class org.awaitility.Awaitility
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
setDefaultFailFastCondition(String, ThrowingRunnable) - Static method in class org.awaitility.Awaitility
If the supplied failFastAssertion ever returns throws an exception, it indicates our condition will never be true, and if so fail the system immediately.
setDefaultFailFastCondition(String, Callable<Boolean>) - Static method in class org.awaitility.Awaitility
If the supplied Callable ever returns false, it indicates our condition will never be true, and if so fail the system immediately.
setDefaultPollDelay(long, TimeUnit) - Static method in class org.awaitility.Awaitility
Sets the default poll delay all await statements will use.
setDefaultPollDelay(Duration) - Static method in class org.awaitility.Awaitility
Sets the default poll delay that all await statements will use.
setDefaultPollInterval(long, TimeUnit) - Static method in class org.awaitility.Awaitility
Sets the default poll interval that all await statements will use.
setDefaultPollInterval(Duration) - Static method in class org.awaitility.Awaitility
Sets the default poll interval that all await statements will use.
setDefaultPollInterval(PollInterval) - Static method in class org.awaitility.Awaitility
Sets the default poll interval that all await statements will use.
setDefaultTimeout(long, TimeUnit) - Static method in class org.awaitility.Awaitility
Sets the default timeout all await statements will use.
setDefaultTimeout(Duration) - Static method in class org.awaitility.Awaitility
Sets the default timeout that all await statements will use.
shouldCatchUncaughtExceptions() - Method in class org.awaitility.core.ConditionSettings
shouldCatchUncaughtExceptions.
shouldExceptionBeIgnored(Throwable) - Method in class org.awaitility.core.ConditionSettings
 
shouldIgnoreException(Throwable) - Method in interface org.awaitility.core.ExceptionIgnorer
 
shouldIgnoreException(Throwable) - Method in class org.awaitility.core.HamcrestExceptionIgnorer
 
shouldIgnoreException(Throwable) - Method in class org.awaitility.core.PredicateExceptionIgnorer
 
startDuration(Duration) - Method in class org.awaitility.pollinterval.IterativePollInterval
Set the start duration of this poll interval
StartEvaluationEvent<T> - Class in org.awaitility.core
 
supplyExecutorService() - Method in class org.awaitility.core.ExecutorLifecycle
 

T

TEN_MINUTES - Static variable in class org.awaitility.Durations
Constant TEN_MINUTES
TEN_SECONDS - Static variable in class org.awaitility.constraint.AtMostWaitConstraint
 
TEN_SECONDS - Static variable in class org.awaitility.Durations
Constant TEN_SECONDS
TerminalFailureException - Exception in org.awaitility.core
If thrown, indicates terminal failure condition has been reached, and that the system should immediately stop polling conditions and fail.
TerminalFailureException(String) - Constructor for exception org.awaitility.core.TerminalFailureException
 
TerminalFailureException(String, Throwable) - Constructor for exception org.awaitility.core.TerminalFailureException
 
then() - Method in class org.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
throwExceptionIfFieldWasNotFound(Class<?>, String, Field) - Static method in class org.awaitility.reflect.WhiteboxImpl
Throw exception if field was not found.
ThrowingRunnable - Interface in org.awaitility.core
This interface replaces Runnable in cases when execution of ThrowingRunnable.run() method may throw exception.
timeout(Duration) - Method in class org.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
timeout(long, TimeUnit) - Method in class org.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
Timeout - Class in org.awaitility.spi
Allow Awaitility extensions to define their own error messages.
Timeout() - Constructor for class org.awaitility.spi.Timeout
 
timeout_message - Static variable in class org.awaitility.spi.Timeout
Constant timeout_message="null"
TimeoutEvent - Class in org.awaitility.core
 
TimeoutEvent(String, long, long, boolean, String) - Constructor for class org.awaitility.core.TimeoutEvent
 
TooManyFieldsFoundException - Exception in org.awaitility.reflect.exception
A run-time exception that may be thrown to indicate that too many fields were found.
TooManyFieldsFoundException(String) - Constructor for exception org.awaitility.reflect.exception.TooManyFieldsFoundException
Constructs a new exception with the specified detail message.
toString() - Method in class org.awaitility.pollinterval.FibonacciPollInterval
 
toString() - Method in class org.awaitility.pollinterval.FixedPollInterval
 
toString() - Method in class org.awaitility.pollinterval.IterativePollInterval
 
toString() - Method in class org.awaitility.reflect.FieldAnnotationMatcherStrategy
TWO_HUNDRED_MILLISECONDS - Static variable in class org.awaitility.Durations
Constant TWO_HUNDRED_MILLISECONDS
TWO_MINUTES - Static variable in class org.awaitility.Durations
Constant TWO_MINUTES
TWO_SECONDS - Static variable in class org.awaitility.Durations
Constant TWO_SECONDS

U

unit(TimeUnit) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Create a new FibonacciPollInterval with the same offset but with a different time unit
until(Callable<T>, Matcher<? super T>) - Method in class org.awaitility.core.ConditionFactory
Await until a Callable supplies a value matching the specified Matcher.
until(Callable<T>, Predicate<? super T>) - Method in class org.awaitility.core.ConditionFactory
Wait until the given supplier matches the supplied predicate.
until(Callable<Boolean>) - Method in class org.awaitility.core.ConditionFactory
Await until a Callable returns true.
untilAccumulator(LongAccumulator, Matcher<? super Long>) - Method in class org.awaitility.core.ConditionFactory
Await until a LongAccumulator has a value matching the specified Matcher.
untilAccumulator(DoubleAccumulator, Matcher<? super Double>) - Method in class org.awaitility.core.ConditionFactory
Await until a DoubleAccumulator has a value matching the specified Matcher.
untilAdder(LongAdder, Matcher<? super Long>) - Method in class org.awaitility.core.ConditionFactory
Await until a LongAdder has a value matching the specified Matcher.
untilAdder(DoubleAdder, Matcher<? super Double>) - Method in class org.awaitility.core.ConditionFactory
Await until a DoubleAdder has a value matching the specified Matcher.
untilAsserted(ThrowingRunnable) - Method in class org.awaitility.core.ConditionFactory
Await until a Runnable supplier execution passes (ends without throwing an exception).
untilAtomic(AtomicInteger, Matcher<? super Integer>) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicLong, Matcher<? super Long>) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicBoolean, Matcher<? super Boolean>) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicReference<V>, Matcher<? super V>) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilFalse(AtomicBoolean) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic boolean becomes false.
untilTrue(AtomicBoolean) - Method in class org.awaitility.core.ConditionFactory
Await until a Atomic boolean becomes true.

W

waitAtMost(Duration) - Static method in class org.awaitility.Awaitility
An alternative to using Awaitility.await() if you want to specify a timeout directly.
waitAtMost(long, TimeUnit) - Static method in class org.awaitility.Awaitility
An alternative to using Awaitility.await() if you want to specify a timeout directly.
WaitConstraint - Interface in org.awaitility.constraint
Interface that defines the wait strategy.
WhiteboxImpl - Class in org.awaitility.reflect
Various utilities for accessing internals of a class.
WhiteboxImpl() - Constructor for class org.awaitility.reflect.WhiteboxImpl
 
with() - Static method in class org.awaitility.Awaitility
Start constructing an await statement with some settings.
with() - Method in class org.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
with() - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Syntactic sugar
with() - Method in class org.awaitility.pollinterval.IterativePollInterval
Syntactic sugar
withHoldPredicateTime(Duration) - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
withHoldPredicateTime(Duration) - Method in class org.awaitility.constraint.HoldsPredicateWaitConstraint
 
withHoldPredicateTime(Duration) - Method in interface org.awaitility.constraint.WaitConstraint
 
withMaxWaitTime(Duration) - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
withMaxWaitTime(Duration) - Method in class org.awaitility.constraint.HoldsPredicateWaitConstraint
 
withMaxWaitTime(Duration) - Method in class org.awaitility.constraint.IntervalWaitConstraint
 
withMaxWaitTime(Duration) - Method in interface org.awaitility.constraint.WaitConstraint
 
withMinWaitTime(Duration) - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
withMinWaitTime(Duration) - Method in class org.awaitility.constraint.HoldsPredicateWaitConstraint
 
withMinWaitTime(Duration) - Method in interface org.awaitility.constraint.WaitConstraint
 
withNormalCleanupBehavior(Supplier<ExecutorService>) - Static method in class org.awaitility.core.ExecutorLifecycle
 
withoutCleanup(ExecutorService) - Static method in class org.awaitility.core.ExecutorLifecycle
 
withoutCleanup(Supplier<ExecutorService>) - Static method in class org.awaitility.core.ExecutorLifecycle
 
A B C D E F G H I M N O P R S T U W 
Skip navigation links

Copyright © 2010–2022. All rights reserved.