Class Pollers
java.lang.Object
com.atlassian.crowd.pageobjects.utils.Pollers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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 untilsupplier
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 untilsupplier
is true by evaluating it every 200 ms until {code}timeout{code} is reached.
-
Constructor Details
-
Pollers
public Pollers()
-
-
Method Details
-
waitUntilPresent
public static com.atlassian.pageobjects.elements.PageElement waitUntilPresent(com.google.common.base.Supplier<com.atlassian.pageobjects.elements.PageElement> supplier) -
waitUntil
public static <T> void waitUntil(com.google.common.base.Supplier<T> supplier, org.hamcrest.Matcher<? super T> matcher) -
waitUntilTrue
public static void waitUntilTrue(com.google.common.base.Supplier<Boolean> supplier, Duration timeout) Waits untilsupplier
is true by evaluating it every 200 ms until {code}timeout{code} is reached. -
waitUntilFalse
public static void waitUntilFalse(com.google.common.base.Supplier<Boolean> supplier, Duration timeout) Waits untilsupplier
is false by evaluating it every 200 ms until {code}timeout{code} is reached.
-