Package org.awaitility.core
Class FieldSupplierBuilder.NameFieldSupplier<T>
- java.lang.Object
-
- org.awaitility.core.FieldSupplierBuilder.NameFieldSupplier<T>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<T>
- Enclosing class:
- FieldSupplierBuilder
public class FieldSupplierBuilder.NameFieldSupplier<T> extends java.lang.Object implements java.util.concurrent.Callable<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.reflect.FieldfoundField
-
Constructor Summary
Constructors Constructor Description NameFieldSupplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Callable<T>andWithName(java.lang.String fieldName)Find a field based on the type and name.Tcall()
-
-
-
Method Detail
-
andWithName
public java.util.concurrent.Callable<T> andWithName(java.lang.String fieldName)
Find a field based on the type and name. E.g.await().until(fieldIn(object).ofType(int.class).andWithName("fieldName"), equalTo(2));- Parameters:
fieldName- The name of the field- Returns:
- The supplier
-
-