public class Eventually<T>
extends org.hamcrest.BaseMatcher
| Modifier and Type | Method and Description |
|---|---|
Eventually<T> |
atMostIn(int time,
TimeUnit timeUnit)
Configures the time limit for waiting for the matcher condition before failing.
|
void |
describeTo(org.hamcrest.Description description) |
static <T> Eventually<T> |
eventually(org.hamcrest.Matcher<T> matcher)
Creates a matcher that retry the matcher until it is satisfied or until the timeout.
|
Eventually<T> |
every(int time,
TimeUnit timeUnit)
Configures the repetition interval for retrying the matcher condition.
|
boolean |
matches(Object item) |
public static <T> Eventually<T> eventually(org.hamcrest.Matcher<T> matcher)
matcher - the matcher that will be executed until the timeoutpublic Eventually<T> atMostIn(int time, TimeUnit timeUnit)
public Eventually<T> every(int time, TimeUnit timeUnit)
public boolean matches(Object item)
public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.