- 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
-
- 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
-
- 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
-
- 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
-
- ConditionFactory(String, WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener, ExecutorLifecycle) - 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
.
- 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
-
- 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
-
- 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
-
- fixed(long, TimeUnit) - Static method in class org.awaitility.pollinterval.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
-
- FixedPollInterval(long, TimeUnit) - Constructor for class org.awaitility.pollinterval.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
-
- 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
-
- iterative(Function<Duration, Duration>, Duration) - Static method in class org.awaitility.pollinterval.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.