public class Pollers extends Object
Constructor and Description |
---|
Pollers() |
Modifier and Type | Method and Description |
---|---|
static <T> void |
waitUntil(com.google.common.base.Supplier<T> supplier,
org.hamcrest.Matcher<? super T> matcher) |
static void |
waitUntilFalse(com.google.common.base.Supplier<Boolean> supplier,
Duration timeout)
Waits until
supplier is false by evaluating it every 200 ms until {code}timeout{code} is reached. |
static com.atlassian.pageobjects.elements.PageElement |
waitUntilPresent(com.google.common.base.Supplier<com.atlassian.pageobjects.elements.PageElement> supplier) |
static void |
waitUntilTrue(com.google.common.base.Supplier<Boolean> supplier,
Duration timeout)
Waits until
supplier is true by evaluating it every 200 ms until {code}timeout{code} is reached. |
public static com.atlassian.pageobjects.elements.PageElement waitUntilPresent(com.google.common.base.Supplier<com.atlassian.pageobjects.elements.PageElement> supplier)
public static <T> void waitUntil(com.google.common.base.Supplier<T> supplier, org.hamcrest.Matcher<? super T> matcher)
public static void waitUntilTrue(com.google.common.base.Supplier<Boolean> supplier, Duration timeout)
supplier
is true by evaluating it every 200 ms until {code}timeout{code} is reached.Copyright © 2021 Atlassian. All rights reserved.