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

A

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(Duration) - Method in interface org.awaitility.pollinterval.IterativePollInterval.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
 
AtMostWaitConstraint(Duration) - Constructor for class org.awaitility.constraint.AtMostWaitConstraint
 
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.AssertionCondition
await.
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

between(Duration, Duration) - Static method in class org.awaitility.constraint.IntervalWaitConstraint
 
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
 
CannotCreateProxyException - Exception in org.awaitility.proxy
The Class CannotCreateProxyException.
CannotCreateProxyException(String) - Constructor for exception org.awaitility.proxy.CannotCreateProxyException
Instantiates a new cannot create proxy exception.
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
 
compareTo(Duration) - Method in class org.awaitility.Duration
 
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.printf.
ConditionEvaluationLogger() - Constructor for class org.awaitility.core.ConditionEvaluationLogger
Uses TimeUnit.MILLISECONDS as unit for elapsed and remaining time.
ConditionEvaluationLogger(TimeUnit) - Constructor for class org.awaitility.core.ConditionEvaluationLogger
Specifies the TimeUnit to use as unit for elapsed and remaining time.
ConditionFactory - Class in org.awaitility.core
A factory for creating Condition objects.
ConditionFactory(String, WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(String, WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class org.awaitility.core.ConditionFactory
 
ConditionFactory(WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(WaitConstraint, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(WaitConstraint, PollInterval, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class org.awaitility.core.ConditionFactory
Instantiates a new condition factory.
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.
create(Class<? extends Object>, InvocationHandler) - Static method in class org.awaitility.proxy.ProxyCreator
create.
createProxy(Object) - Static method in class org.awaitility.core.MethodCallRecorder
createProxy.

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
 
divide(long) - Method in class org.awaitility.Duration
Divide this duration amount with the given amount
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.
Duration - Class in org.awaitility
Duration class.
Duration(long, TimeUnit) - Constructor for class org.awaitility.Duration
Constructor for Duration.

E

equals(Object) - Method in class org.awaitility.Duration
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.
ExceptionIgnorer - Interface in org.awaitility.core
 
existInCP(String) - Static method in class org.awaitility.classpath.ClassPathResolver
 

F

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
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.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
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.Duration
Constant FOREVER

G

getAlias() - Method in class org.awaitility.core.EvaluatedCondition
 
getByNameAndType(Object, String, Class<T>) - Static method in class org.awaitility.reflect.WhiteboxImpl
getByNameAndType.
getDefaultValue(Class<?>) - Static method in class org.awaitility.proxy.TypeUtils
Get the default value for a type.
getDefaultValue(String) - Static method in class org.awaitility.proxy.TypeUtils
Get the default value of a type with based on its fully-qualified name.
getDescription() - Method in class org.awaitility.core.EvaluatedCondition
 
getElapsedTimeInMS() - Method in class org.awaitility.core.EvaluatedCondition
 
getFieldAnnotatedWith(Object, Class<? extends Annotation>) - Static method in class org.awaitility.reflect.WhiteboxImpl
Get field annotated with a particular annotation.
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.
getLastArgs() - Static method in class org.awaitility.core.MethodCallRecorder
Getter for the field lastArgs.
getLastMethod() - Static method in class org.awaitility.core.MethodCallRecorder
Getter for the field lastMethod.
getLastTarget() - Static method in class org.awaitility.core.MethodCallRecorder
Getter for the field lastTarget.
getMatcher() - Method in class org.awaitility.core.EvaluatedCondition
 
getMaxWaitTime() - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
getMaxWaitTime() - Method in interface org.awaitility.constraint.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
 
getPollInterval() - Method in class org.awaitility.core.EvaluatedCondition
 
getRemainingTimeInMS() - Method in class org.awaitility.core.EvaluatedCondition
 
getThreadInfos() - Method in class org.awaitility.core.DeadlockException
 
getTimeUnit() - Method in class org.awaitility.Duration
getTimeUnit.
getTimeUnitAsString() - Method in class org.awaitility.Duration
getTimeUnitAsString.
getType(Object) - Static method in class org.awaitility.reflect.WhiteboxImpl
Gets the type.
getValue() - Method in class org.awaitility.core.EvaluatedCondition
 
getValue() - Method in class org.awaitility.Duration
Getter for the field value.
getValueInMS() - Method in class org.awaitility.Duration
getValueInMS.
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 Exception>) - Constructor for class org.awaitility.core.HamcrestExceptionIgnorer
 
hasAlias() - Method in class org.awaitility.core.EvaluatedCondition
 
hashCode() - Method in class org.awaitility.Duration
hashCode() - Method in class org.awaitility.pollinterval.FibonacciPollInterval
 
hashCode() - Method in class org.awaitility.pollinterval.FixedPollInterval
 
hashCode() - Method in class org.awaitility.pollinterval.IterativePollInterval
 

I

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.
IntervalWaitConstraint - Class in org.awaitility.constraint
 
IntervalWaitConstraint(Duration, Duration) - Constructor for class org.awaitility.constraint.IntervalWaitConstraint
 
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(IterativePollInterval.Function) - Static method in class org.awaitility.pollinterval.IterativePollInterval
Syntactic sugar for creating a IterativePollInterval.
iterative(IterativePollInterval.Function, 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(IterativePollInterval.Function) - Constructor for class org.awaitility.pollinterval.IterativePollInterval
Generate an iterative poll interval based on the supplied function.
IterativePollInterval(IterativePollInterval.Function, Duration) - Constructor for class org.awaitility.pollinterval.IterativePollInterval
Generate a iterative poll interval based on the supplied function and start duration.
IterativePollInterval.Function - Interface in org.awaitility.pollinterval
The iterative poll interval function

M

matches(ThrowingRunnable) - Static method in class org.awaitility.Awaitility
Await until a ThrowingRunnable supplier execution passes (ends without throwing an exception).
matches(T) - Method in interface org.awaitility.core.Predicate
Applies this function to the given argument.
matches(Field) - Method in class org.awaitility.reflect.FieldAnnotationMatcherStrategy
A field matcher that checks if a field matches a given criteria.
MethodCallRecorder - Class in org.awaitility.core
MethodCallRecorder class.
MethodCallRecorder() - Constructor for class org.awaitility.core.MethodCallRecorder
 
minus(long) - Method in class org.awaitility.Duration
Subtract an amount (with the same time unit as the current amount)
minus(long, TimeUnit) - Method in class org.awaitility.Duration
Subtract an amount with the given time unit.
minus(Duration) - Method in class org.awaitility.Duration
Add a duration with the given time unit.
multiply(long) - Method in class org.awaitility.Duration
Multiply this amount with the given amount

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

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.Duration
Constant ONE_HUNDRED_MILLISECONDS
ONE_MILLISECOND - Static variable in class org.awaitility.Duration
Constant ONE_MILLISECOND
ONE_MINUTE - Static variable in class org.awaitility.Duration
Constant ONE_MINUTE
ONE_SECOND - Static variable in class org.awaitility.Duration
Constant ONE_SECOND
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.proxy - package org.awaitility.proxy
 
org.awaitility.reflect - package org.awaitility.reflect
 
org.awaitility.reflect.exception - package org.awaitility.reflect.exception
 
org.awaitility.spi - package org.awaitility.spi
 

P

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.
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.
Predicate<T> - Interface in org.awaitility.core
 
PredicateExceptionIgnorer - Class in org.awaitility.core
 
PredicateExceptionIgnorer(Predicate<Exception>) - Constructor for class org.awaitility.core.PredicateExceptionIgnorer
 
ProxyCreator - Class in org.awaitility.proxy
ProxyCreator class.

R

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

S

safeRethrow(Throwable) - Static method in class org.awaitility.core.CheckedExceptionRethrower
safeRethrow.
SAME_AS_POLL_INTERVAL - Static variable in class org.awaitility.Duration
Deprecated.
This doesn't do anything. The initial delay is now always the same as poll interval if nothing else is specified.
setDefaultConditionEvaluationListener(ConditionEvaluationListener) - Static method in class org.awaitility.Awaitility
Sets the default condition evaluation listener that all await statements will use.
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.
shouldIgnoreException(Exception) - Method in interface org.awaitility.core.ExceptionIgnorer
 
shouldIgnoreException(Exception) - Method in class org.awaitility.core.HamcrestExceptionIgnorer
 
shouldIgnoreException(Exception) - Method in class org.awaitility.core.PredicateExceptionIgnorer
 
startDuration(Duration) - Method in class org.awaitility.pollinterval.IterativePollInterval
Set the start duration of this poll interval

T

TEN_MINUTES - Static variable in class org.awaitility.Duration
Constant TEN_MINUTES
TEN_SECONDS - Static variable in class org.awaitility.constraint.AtMostWaitConstraint
 
TEN_SECONDS - Static variable in class org.awaitility.Duration
Constant TEN_SECONDS
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"
timeUnit(TimeUnit) - Method in class org.awaitility.pollinterval.FibonacciPollInterval
Create a new FibonacciPollInterval with the same offset but with a different time unit
to(S) - Static method in class org.awaitility.Awaitility
Await until a specific method invocation returns something.
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.Duration
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.Duration
Constant TWO_HUNDRED_MILLISECONDS
TWO_MINUTES - Static variable in class org.awaitility.Duration
Constant TWO_MINUTES
TWO_SECONDS - Static variable in class org.awaitility.Duration
Constant TWO_SECONDS
TypeUtils - Class in org.awaitility.proxy
Utilities for types.
TypeUtils() - Constructor for class org.awaitility.proxy.TypeUtils
 

U

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(Runnable) - Method in class org.awaitility.core.ConditionFactory
Await until a Runnable supplier execution passes (ends without throwing an exception).
until(Callable<Boolean>) - Method in class org.awaitility.core.ConditionFactory
Await until a Callable returns true.
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.
untilCall(T, Matcher<? super T>) - Method in class org.awaitility.core.ConditionFactory
Specify the condition that must be met when waiting for a method call.
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
withMaxWaitTime(Duration) - Method in class org.awaitility.constraint.AtMostWaitConstraint
 
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 interface org.awaitility.constraint.WaitConstraint
 

Z

ZERO - Static variable in class org.awaitility.Duration
Constant ZERO
A B C D E F G H I M N O P R S T U W Z 
Skip navigation links

Copyright © 2010–2016. All rights reserved.