- AbstractHamcrestCondition<T> - Class in org.awaitility.core
-
- AbstractHamcrestCondition(Callable<T>, Matcher<? super T>, ConditionSettings) - Constructor for class org.awaitility.core.AbstractHamcrestCondition
-
Constructor for AbstractHamcrestCondition.
- 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
-
- apply(T, U) - Method in interface org.awaitility.core.BiFunction
-
Applies this function to the given argument.
- apply(T) - Method in interface org.awaitility.core.Function
-
Applies this function to the given argument.
- AssertionCondition - Class in org.awaitility.core
-
Condition implementation which takes an executable assertion which should throw
AssertionError
on assertion failure.
- AssertionCondition(Runnable, 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
-
- 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(timeUnit)
- fibonacci(int, TimeUnit) - Static method in class org.awaitility.pollinterval.FibonacciPollInterval
-
Syntactic sugar for new FibonacciPollInterval(offset, timeUnit)
- 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.Duration
-
Constant FIVE_HUNDRED_MILLISECONDS
- FIVE_MINUTES - Static variable in class org.awaitility.Duration
-
Constant FIVE_MINUTES
- FIVE_SECONDS - Static variable in class org.awaitility.Duration
-
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.Duration
-
Constant FOREVER
- Function<T,R> - Interface in org.awaitility.core
-
A function (because Awaitility doesn't use Java 8)
- ignoreException(Class<? extends Exception>) - Method in class org.awaitility.core.ConditionFactory
-
Instruct Awaitility to ignore a specific exception and no subclasses of this exception.
- ignoreExceptionByDefault(Class<? extends Exception>) - 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<Exception>) - Static method in class org.awaitility.Awaitility
-
Instruct Awaitility to ignore caught exceptions matching the given predicate
during condition evaluation.
- ignoreExceptionsByDefaultMatching(Matcher<? super Exception>) - Static method in class org.awaitility.Awaitility
-
Instruct Awaitility to ignore caught exceptions matching the supplied matcher
during condition evaluation.
- ignoreExceptionsInstanceOf(Class<? extends Exception>) - Method in class org.awaitility.core.ConditionFactory
-
Instruct Awaitility to ignore exceptions instance of the supplied exceptionType type.
- ignoreExceptionsMatching(Matcher<? super Exception>) - Method in class org.awaitility.core.ConditionFactory
-
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied Hamcrest matcher.
- ignoreExceptionsMatching(Predicate<Exception>) - 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.
- isConditionRunningForever() - Method in class org.awaitility.core.EvaluatedCondition
-
- isForever() - Method in class org.awaitility.Duration
-
isForever.
- isHamcrestCondition() - Method in class org.awaitility.core.EvaluatedCondition
-
- isSatisfied() - Method in class org.awaitility.core.EvaluatedCondition
-
- isZero() - Method in class org.awaitility.Duration
-
isZero
- 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.
- plus(long) - Method in class org.awaitility.Duration
-
Add a amount (with the same time unit as the current duration)
- plus(long, TimeUnit) - Method in class org.awaitility.Duration
-
Add a amount with the given time unit.
- plus(Duration) - Method in class org.awaitility.Duration
-
Add a duration with the given time unit.
- 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.
- Predicate<T> - Interface in org.awaitility.core
-
- PredicateExceptionIgnorer - Class in org.awaitility.core
-
- PredicateExceptionIgnorer(Predicate<Exception>) - Constructor for class org.awaitility.core.PredicateExceptionIgnorer
-
- ProxyConditionFactory<T> - Interface in org.awaitility.spi
-
An SPI that can be used to implement proxy conditions.