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

A

and() - Method in class com.jayway.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
andAnnotatedWith(Class<? extends Annotation>) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
Find a field based on a name, type and annotation.
andAnnotatedWith(Class<? extends Annotation>) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
Find a field based on the type and an annotation.
andOfType(Class<S>) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
Find a field based on the annotation and field type.
andWithName(String) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
Find a field based on the type and name.
andWithName(String) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
Find a field based on the annotation and field name.
andWithName(String) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
Find a field based on the type and name.
AnnotationFieldSupplier() - Constructor for class com.jayway.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
 
AssertionCondition - Class in com.jayway.awaitility.core
Condition implementation which takes an executable assertion which should throw AssertionError on assertion failure.
AssertionCondition(Runnable, ConditionSettings) - Constructor for class com.jayway.awaitility.core.AssertionCondition
Constructor for AssertionCondition.
atMost(Duration) - Method in class com.jayway.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
atMost(long, TimeUnit) - Method in class com.jayway.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
await() - Static method in class com.jayway.awaitility.Awaitility
Start building an await statement.
await(String) - Static method in class com.jayway.awaitility.Awaitility
Start building a named await statement.
await() - Method in class com.jayway.awaitility.core.AssertionCondition
await.
await() - Method in class com.jayway.awaitility.core.ConditionFactory
Await for an asynchronous operation.
await(String) - Method in class com.jayway.awaitility.core.ConditionFactory
Await for an asynchronous operation and give this await instance a particular name.
Awaitility - Class in com.jayway.awaitility
Awaitility is a small Java DSL for synchronizing (waiting for) asynchronous operations.
Awaitility() - Constructor for class com.jayway.awaitility.Awaitility
 

C

call() - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier
 
call() - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
 
call() - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
 
call() - Method in class com.jayway.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
 
CannotCreateProxyException - Exception in com.jayway.awaitility.proxy
The Class CannotCreateProxyException.
CannotCreateProxyException(String) - Constructor for exception com.jayway.awaitility.proxy.CannotCreateProxyException
Instantiates a new cannot create proxy exception.
catchUncaughtExceptions() - Static method in class com.jayway.awaitility.Awaitility
Catching uncaught exceptions in other threads.
catchUncaughtExceptions() - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to catch uncaught exceptions from other threads.
catchUncaughtExceptionsByDefault() - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility to catch uncaught exceptions from other threads by default.
com.jayway.awaitility - package com.jayway.awaitility
 
com.jayway.awaitility.core - package com.jayway.awaitility.core
 
com.jayway.awaitility.proxy - package com.jayway.awaitility.proxy
 
com.jayway.awaitility.reflect - package com.jayway.awaitility.reflect
 
com.jayway.awaitility.reflect.exception - package com.jayway.awaitility.reflect.exception
 
com.jayway.awaitility.spi - package com.jayway.awaitility.spi
 
conditionEvaluated(EvaluatedCondition<T>) - Method in interface com.jayway.awaitility.core.ConditionEvaluationListener
Handle an evaluated condition of a matcher.
conditionEvaluated(EvaluatedCondition<Object>) - Method in class com.jayway.awaitility.core.ConditionEvaluationLogger
 
ConditionEvaluationListener<T> - Interface in com.jayway.awaitility.core
A ConditionEvaluationListener is called each time a condition has been evaluated by Awaitility.
conditionEvaluationListener(ConditionEvaluationListener) - Method in class com.jayway.awaitility.core.ConditionFactory
Handle condition evaluation results each time evaluation of a condition occurs.
ConditionEvaluationLogger - Class in com.jayway.awaitility.core
Simple implementation of ConditionEvaluationListener that prints the condition evaluation results to the console using System.out.printf.
ConditionEvaluationLogger() - Constructor for class com.jayway.awaitility.core.ConditionEvaluationLogger
Uses TimeUnit.MILLISECONDS as unit for elapsed and remaining time.
ConditionEvaluationLogger(TimeUnit) - Constructor for class com.jayway.awaitility.core.ConditionEvaluationLogger
Specifies the TimeUnit to use as unit for elapsed and remaining time.
ConditionFactory - Class in com.jayway.awaitility.core
A factory for creating Condition objects.
ConditionFactory(String, Duration, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class com.jayway.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(Duration, Duration, Duration, boolean, ExceptionIgnorer) - Constructor for class com.jayway.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionFactory(Duration, Duration, Duration, boolean, ExceptionIgnorer, ConditionEvaluationListener) - Constructor for class com.jayway.awaitility.core.ConditionFactory
Instantiates a new condition factory.
ConditionTimeoutException - Exception in com.jayway.awaitility.core
A runtime exception thrown by Awaitility when a condition was not fulfilled within the specified threshold.
ConditionTimeoutException(String) - Constructor for exception com.jayway.awaitility.core.ConditionTimeoutException
Constructor for ConditionTimeoutException.
create(Class<? extends Object>, InvocationHandler) - Static method in class com.jayway.awaitility.proxy.ProxyCreator
create.
createProxy(Object) - Static method in class com.jayway.awaitility.core.MethodCallRecorder
createProxy.

D

DeadlockException - Class in com.jayway.awaitility.core
A Throwable used as a cause if deadlocked threads are detected by Awaitility.
DeadlockException(long[]) - Constructor for class com.jayway.awaitility.core.DeadlockException
 
doNotCatchUncaughtExceptionsByDefault() - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility not to catch uncaught exceptions from other threads.
dontCatchUncaughtExceptions() - Static method in class com.jayway.awaitility.Awaitility
Don't catch uncaught exceptions in other threads.
dontCatchUncaughtExceptions() - Method in class com.jayway.awaitility.core.ConditionFactory
Don't catch uncaught exceptions in other threads.
Duration - Class in com.jayway.awaitility
Duration class.
Duration(long, TimeUnit) - Constructor for class com.jayway.awaitility.Duration
Constructor for Duration.

E

equals(Object) - Method in class com.jayway.awaitility.Duration
EvaluatedCondition<T> - Class in com.jayway.awaitility.core
Contains properties of the condition at its current stage.
ExceptionIgnorer - Interface in com.jayway.awaitility.core
 

F

FieldAnnotationMatcherStrategy - Class in com.jayway.awaitility.reflect
FieldAnnotationMatcherStrategy class.
FieldAnnotationMatcherStrategy(Class<? extends Annotation>) - Constructor for class com.jayway.awaitility.reflect.FieldAnnotationMatcherStrategy
Constructor for FieldAnnotationMatcherStrategy.
fieldIn(Object) - Static method in class com.jayway.awaitility.Awaitility
Await until an instance field matches something.
fieldIn(Class<?>) - Static method in class com.jayway.awaitility.Awaitility
Await until a static field matches something.
FieldNotFoundException - Exception in com.jayway.awaitility.reflect.exception
A run-time exception that may be thrown to indicate that a field was not found.
FieldNotFoundException(String) - Constructor for exception com.jayway.awaitility.reflect.exception.FieldNotFoundException
Constructs a new exception with the specified detail message.
FieldSupplierBuilder - Class in com.jayway.awaitility.core
The field supplier builder allows you to create a supplier based a field.
FieldSupplierBuilder(Object) - Constructor for class com.jayway.awaitility.core.FieldSupplierBuilder
Constructor for FieldSupplierBuilder.
FieldSupplierBuilder.AnnotationFieldSupplier<T> - Class in com.jayway.awaitility.core
 
FieldSupplierBuilder.NameAndAnnotationFieldSupplier<T> - Class in com.jayway.awaitility.core
 
FieldSupplierBuilder.NameAndTypeFieldSupplier<T> - Class in com.jayway.awaitility.core
 
FieldSupplierBuilder.NameFieldSupplier<T> - Class in com.jayway.awaitility.core
 
FIVE_HUNDRED_MILLISECONDS - Static variable in class com.jayway.awaitility.Duration
Constant FIVE_HUNDRED_MILLISECONDS
FIVE_MINUTES - Static variable in class com.jayway.awaitility.Duration
Constant FIVE_MINUTES
FIVE_SECONDS - Static variable in class com.jayway.awaitility.Duration
Constant FIVE_SECONDS
forever() - Method in class com.jayway.awaitility.core.ConditionFactory
Await forever until the condition is satisfied.
FOREVER - Static variable in class com.jayway.awaitility.Duration
Constant FOREVER

G

getAlias() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getByNameAndType(Object, String, Class<T>) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
getByNameAndType.
getDefaultValue(Class<?>) - Static method in class com.jayway.awaitility.proxy.TypeUtils
Get the default value for a type.
getDefaultValue(String) - Static method in class com.jayway.awaitility.proxy.TypeUtils
Get the default value of a type with based on its fully-qualified name.
getDescription() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getElapsedTimeInMS() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getFieldAnnotatedWith(Object, Class<? extends Annotation>) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Get field annotated with a particular annotation.
getInternalState(Object, String) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Get the value of a field using reflection.
getInternalState(Object, Class<T>) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Get the value of a field using reflection.
getLastArgs() - Static method in class com.jayway.awaitility.core.MethodCallRecorder
Getter for the field lastArgs.
getLastMethod() - Static method in class com.jayway.awaitility.core.MethodCallRecorder
Getter for the field lastMethod.
getLastTarget() - Static method in class com.jayway.awaitility.core.MethodCallRecorder
Getter for the field lastTarget.
getMatcher() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getMessage() - Method in class com.jayway.awaitility.core.DeadlockException
 
getRemainingTimeInMS() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getThreadInfos() - Method in class com.jayway.awaitility.core.DeadlockException
 
getTimeUnit() - Method in class com.jayway.awaitility.Duration
getTimeUnit.
getTimeUnitAsString() - Method in class com.jayway.awaitility.Duration
getTimeUnitAsString.
getType(Object) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Gets the type.
getValue() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
getValue() - Method in class com.jayway.awaitility.Duration
Getter for the field value.
getValueInMS() - Method in class com.jayway.awaitility.Duration
getValueInMS.
given() - Static method in class com.jayway.awaitility.Awaitility
Start constructing an await statement given some settings.
given() - Method in class com.jayway.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.

H

HamcrestExceptionIgnorer - Class in com.jayway.awaitility.core
 
HamcrestExceptionIgnorer(Matcher<? super Exception>) - Constructor for class com.jayway.awaitility.core.HamcrestExceptionIgnorer
 
hasAlias() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
hashCode() - Method in class com.jayway.awaitility.Duration

I

ignoreException(Class<? extends Exception>) - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to ignore a specific exception and no subclasses of this exception.
ignoreExceptionByDefault(Class<? extends Exception>) - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility to ignore caught exception of the given type during condition evaluation.
ignoreExceptions() - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to ignore all exceptions that occur during evaluation.
ignoreExceptionsByDefault() - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility to ignore caught or uncaught exceptions during condition evaluation.
ignoreExceptionsByDefaultMatching(Predicate<Exception>) - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility to ignore caught exceptions matching the given predicate during condition evaluation.
ignoreExceptionsByDefaultMatching(Matcher<? super Exception>) - Static method in class com.jayway.awaitility.Awaitility
Instruct Awaitility to ignore caught exceptions matching the supplied matcher during condition evaluation.
ignoreExceptionsInstanceOf(Class<? extends Exception>) - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions instance of the supplied exceptionType type.
ignoreExceptionsMatching(Matcher<? super Exception>) - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied Hamcrest matcher.
ignoreExceptionsMatching(Predicate<Exception>) - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to ignore exceptions that occur during evaluation and matches the supplied predicate.
ignoreNoExceptions() - Method in class com.jayway.awaitility.core.ConditionFactory
Instruct Awaitility to not ignore any exceptions that occur during evaluation.
isClass(Object) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Checks if is class.
isConditionRunningForever() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
isForever() - Method in class com.jayway.awaitility.Duration
isForever.
isHamcrestCondition() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 
isSatisfied() - Method in class com.jayway.awaitility.core.EvaluatedCondition
 

M

matches(T) - Method in interface com.jayway.awaitility.core.Predicate
Applies this function to the given argument.
matches(Field) - Method in class com.jayway.awaitility.reflect.FieldAnnotationMatcherStrategy
A field matcher that checks if a field matches a given criteria.
MethodCallRecorder - Class in com.jayway.awaitility.core
MethodCallRecorder class.
MethodCallRecorder() - Constructor for class com.jayway.awaitility.core.MethodCallRecorder
 

N

NameAndAnnotationFieldSupplier() - Constructor for class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndAnnotationFieldSupplier
 
NameAndTypeFieldSupplier() - Constructor for class com.jayway.awaitility.core.FieldSupplierBuilder.NameAndTypeFieldSupplier
 
NameFieldSupplier() - Constructor for class com.jayway.awaitility.core.FieldSupplierBuilder.NameFieldSupplier
 
notFound(Class<?>, boolean) - Method in class com.jayway.awaitility.reflect.FieldAnnotationMatcherStrategy
Throws an FieldNotFoundException if the strategy criteria could not be found.

O

ofType(Class<T>) - Method in class com.jayway.awaitility.core.FieldSupplierBuilder
Find a field based on a type.
ONE_HUNDRED_MILLISECONDS - Static variable in class com.jayway.awaitility.Duration
Constant ONE_HUNDRED_MILLISECONDS
ONE_MINUTE - Static variable in class com.jayway.awaitility.Duration
Constant ONE_MINUTE
ONE_SECOND - Static variable in class com.jayway.awaitility.Duration
Constant ONE_SECOND

P

pollDelay(long, TimeUnit) - Method in class com.jayway.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 com.jayway.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 com.jayway.awaitility.core.ConditionFactory
Specify the polling interval Awaitility will use for this await statement.
pollInterval(long, TimeUnit) - Method in class com.jayway.awaitility.core.ConditionFactory
Specify the polling interval Awaitility will use for this await statement.
Predicate<T> - Interface in com.jayway.awaitility.core
 
PredicateExceptionIgnorer - Class in com.jayway.awaitility.core
 
PredicateExceptionIgnorer(Predicate<Exception>) - Constructor for class com.jayway.awaitility.core.PredicateExceptionIgnorer
 
ProxyCreator - Class in com.jayway.awaitility.proxy
ProxyCreator class.

R

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

S

SAME_AS_POLL_INTERVAL - Static variable in class com.jayway.awaitility.Duration
Constant SAME_AS_POLL_INTERVAL
setDefaultConditionEvaluationListener(ConditionEvaluationListener) - Static method in class com.jayway.awaitility.Awaitility
Sets the default condition evaluation listener that all await statements will use.
setDefaultPollDelay(long, TimeUnit) - Static method in class com.jayway.awaitility.Awaitility
Sets the default poll delay all await statements will use.
setDefaultPollDelay(Duration) - Static method in class com.jayway.awaitility.Awaitility
Sets the default poll delay that all await statements will use.
setDefaultPollInterval(long, TimeUnit) - Static method in class com.jayway.awaitility.Awaitility
Sets the default poll interval that all await statements will use.
setDefaultPollInterval(Duration) - Static method in class com.jayway.awaitility.Awaitility
Sets the default poll interval that all await statements will use.
setDefaultTimeout(long, TimeUnit) - Static method in class com.jayway.awaitility.Awaitility
Sets the default timeout all await statements will use.
setDefaultTimeout(Duration) - Static method in class com.jayway.awaitility.Awaitility
Sets the default timeout that all await statements will use.
shouldIgnoreException(Exception) - Method in interface com.jayway.awaitility.core.ExceptionIgnorer
 
shouldIgnoreException(Exception) - Method in class com.jayway.awaitility.core.HamcrestExceptionIgnorer
 
shouldIgnoreException(Exception) - Method in class com.jayway.awaitility.core.PredicateExceptionIgnorer
 

T

TEN_MINUTES - Static variable in class com.jayway.awaitility.Duration
Constant TEN_MINUTES
TEN_SECONDS - Static variable in class com.jayway.awaitility.Duration
Constant TEN_SECONDS
then() - Method in class com.jayway.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
throwExceptionIfFieldWasNotFound(Class<?>, String, Field) - Static method in class com.jayway.awaitility.reflect.WhiteboxImpl
Throw exception if field was not found.
timeout(Duration) - Method in class com.jayway.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
timeout(long, TimeUnit) - Method in class com.jayway.awaitility.core.ConditionFactory
Await at most timeout before throwing a timeout exception.
Timeout - Class in com.jayway.awaitility.spi
Allow Awaitility extensions to define their own error messages.
Timeout() - Constructor for class com.jayway.awaitility.spi.Timeout
 
timeout_message - Static variable in class com.jayway.awaitility.spi.Timeout
Constant timeout_message="null"
to(S) - Static method in class com.jayway.awaitility.Awaitility
Await until a specific method invocation returns something.
TooManyFieldsFoundException - Exception in com.jayway.awaitility.reflect.exception
A run-time exception that may be thrown to indicate that too many fields were found.
TooManyFieldsFoundException(String) - Constructor for exception com.jayway.awaitility.reflect.exception.TooManyFieldsFoundException
Constructs a new exception with the specified detail message.
toString() - Method in class com.jayway.awaitility.reflect.FieldAnnotationMatcherStrategy
TWO_HUNDRED_MILLISECONDS - Static variable in class com.jayway.awaitility.Duration
Constant TWO_HUNDRED_MILLISECONDS
TWO_MINUTES - Static variable in class com.jayway.awaitility.Duration
Constant TWO_MINUTES
TWO_SECONDS - Static variable in class com.jayway.awaitility.Duration
Constant TWO_SECONDS
TypeUtils - Class in com.jayway.awaitility.proxy
Utilities for types.
TypeUtils() - Constructor for class com.jayway.awaitility.proxy.TypeUtils
 

U

until(Callable<T>, Matcher<? super T>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Callable supplies a value matching the specified Matcher.
until(Runnable) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Runnable supplier execution passes (ends without throwing an exception).
until(Callable<Boolean>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Callable returns true.
untilAtomic(AtomicInteger, Matcher<? super Integer>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicLong, Matcher<? super Long>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicBoolean, Matcher<? super Boolean>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilAtomic(AtomicReference<V>, Matcher<? super V>) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic variable has a value matching the specified Matcher.
untilCall(T, Matcher<? super T>) - Method in class com.jayway.awaitility.core.ConditionFactory
Specify the condition that must be met when waiting for a method call.
untilFalse(AtomicBoolean) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic boolean becomes false.
untilTrue(AtomicBoolean) - Method in class com.jayway.awaitility.core.ConditionFactory
Await until a Atomic boolean becomes true.

W

waitAtMost(Duration) - Static method in class com.jayway.awaitility.Awaitility
An alternative to using Awaitility.await() if you want to specify a timeout directly.
waitAtMost(long, TimeUnit) - Static method in class com.jayway.awaitility.Awaitility
An alternative to using Awaitility.await() if you want to specify a timeout directly.
WhiteboxImpl - Class in com.jayway.awaitility.reflect
Various utilities for accessing internals of a class.
WhiteboxImpl() - Constructor for class com.jayway.awaitility.reflect.WhiteboxImpl
 
with() - Static method in class com.jayway.awaitility.Awaitility
Start constructing an await statement with some settings.
with() - Method in class com.jayway.awaitility.core.ConditionFactory
A method to increase the readability of the Awaitility DSL.
A C D E F G H I M N O P R S T U W 
Skip navigation links

Copyright © 2010–2015. All rights reserved.