Package org.awaitility.core
Class FieldSupplierBuilder.AnnotationFieldSupplier<T>
java.lang.Object
org.awaitility.core.FieldSupplierBuilder.AnnotationFieldSupplier<T>
- All Implemented Interfaces:
Callable<T>
- Enclosing class:
- FieldSupplierBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandAnnotatedWith(Class<? extends Annotation> annotationType) Find a field based on a name, type and annotation.call()
-
Constructor Details
-
AnnotationFieldSupplier
public AnnotationFieldSupplier()
-
-
Method Details
-
andAnnotatedWith
Find a field based on a name, type and annotation. E.g.await().until(fieldIn(object).ofType(int.class).andWithName("fieldName").andAnnotatedWith(MyAnnotation.class), equalTo(2));- Parameters:
annotationType- The type of the annotation- Returns:
- The supplier
-
call
-