Package org.awaitility.core
package org.awaitility.core
-
ClassDescriptionCondition implementation which takes an executable assertion which should throw
AssertionErroron assertion failure.Wraps and delegates to another callable and invokes theConditionEvaluationHandler.This is an internal class and should NOT be used outside of Awaitility! Use it at own risk (please don't :)).Condition<T>Handler forConditionimplementations that callsConditionEvaluationListenerwith condition evaluation result and message.A ConditionEvaluationListener is called each time a condition has been evaluated by Awaitility.Simple implementation ofConditionEvaluationListenerthat prints the condition evaluation results to the console usingSystem.out.printlnby default.A factory for creatingConditionobjects.A runtime exception thrown by Awaitility when a condition was not fulfilled within the specified threshold.AThrowableused as a cause if deadlocked threads are detected by Awaitility.Contains properties of the condition at its current stage.Handles how threads and thread-pools are cleanup after each conditional evaluation round.Handles the lifecycle of an executor service.The field supplier builder allows you to create a supplier based a field.The Class HamcrestToStringFilter.Please don't use this class directly, it's for internal purposes only and will be moved/renamed without notice!Helper class for generating nicer error messages when lambda expression are usedCreates an executor service that runs each task in the thread that invokesexecute/submit, as inThreadPoolExecutor.CallerRunsPolicyThis applies both to individually submitted tasks and to collections of tasks submitted viainvokeAllorinvokeAny.If thrown, indicates terminal failure condition has been reached, and that the system should immediately stop polling conditions and fail.This interface replacesRunnablein cases when execution ofThrowingRunnable.run()method may throw exception.These code snippets are copied from the Guava library (e.g.