Package org.awaitility.core
Class CallableHamcrestCondition<T>
java.lang.Object
org.awaitility.core.AbstractHamcrestCondition<T>
org.awaitility.core.CallableHamcrestCondition<T>
- All Implemented Interfaces:
Condition<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCallableHamcrestCondition(Callable<T> supplier, org.hamcrest.Matcher<? super T> matcher, ConditionSettings settings) Constructor for CallableHamcrestCondition. -
Method Summary
Modifier and TypeMethodDescriptionprivate StringgenerateFieldSupplierErrorMessage(Callable<T> supplier) protected StringgetCallableDescription(Callable<T> supplier) private booleanisFieldSupplier(Class<?> supplierClass) Methods inherited from class org.awaitility.core.AbstractHamcrestCondition
await
-
Constructor Details
-
CallableHamcrestCondition
public CallableHamcrestCondition(Callable<T> supplier, org.hamcrest.Matcher<? super T> matcher, ConditionSettings settings) Constructor for CallableHamcrestCondition.
- Parameters:
supplier- aCallableobject.matcher- aMatcherobject.settings- aConditionSettingsobject.
-
-
Method Details
-
getCallableDescription
- Specified by:
getCallableDescriptionin classAbstractHamcrestCondition<T>
-
isFieldSupplier
-
generateFieldSupplierErrorMessage
-