public abstract class AbstractWaitFailStrategy extends Object implements WaitFailStrategy
Abstract implementation of WaitFailStrategy. Provides some commonly used
methods for fail strategy implementations.
| Constructor and Description |
|---|
AbstractWaitFailStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addTimeoutDescription(String message,
Object function,
Object input,
long consumedMillis)
Enhances the description for a failure message by the evaluated function and how long it took to
meet the timeout.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfail, fail@Nonnull protected String addTimeoutDescription(@Nullable String message, @Nonnull Object function, @Nonnull Object input, @Nonnegative long consumedMillis)
Enhances the description for a failure message by the evaluated function and how long it took to meet the timeout.
message - original (plain) messagefunction - function evaluatedinput - the input to the functionconsumedMillis - how long it took until timeout @return enhanced messageCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.