Package org.awaitility.reflect
Class AssignableToFieldTypeMatcherStrategy
java.lang.Object
org.awaitility.reflect.FieldMatcherStrategy
org.awaitility.reflect.FieldTypeMatcherStrategy
org.awaitility.reflect.AssignableToFieldTypeMatcherStrategy
-
Field Summary
Fields inherited from class org.awaitility.reflect.FieldTypeMatcherStrategy
expectedFieldType -
Constructor Summary
ConstructorsConstructorDescriptionAssignableToFieldTypeMatcherStrategy(Class<?> fieldType) Constructor for AssignableToFieldTypeMatcherStrategy. -
Method Summary
Methods inherited from class org.awaitility.reflect.FieldTypeMatcherStrategy
notFound, toString
-
Constructor Details
-
AssignableToFieldTypeMatcherStrategy
Constructor for AssignableToFieldTypeMatcherStrategy.
- Parameters:
fieldType- aClassobject.
-
-
Method Details
-
matches
A field matcher that checks if a field matches a given criteria.- Overrides:
matchesin classFieldTypeMatcherStrategy- Parameters:
field- The field to check whether it matches the strategy or not.- Returns:
trueif this field matches the strategy,falseotherwise.
-