public class WaitUntil extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
WaitUntil.WaitCondition
The condition to determine when to stop waiting
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
invoke(WaitUntil.WaitCondition waitCondition)
Invokes the wait condition, trying every second for 10 seconds
|
static boolean |
invoke(WaitUntil.WaitCondition waitCondition,
int tries)
Invokes the wait condition, trying every second for the configured
seconds
|
static boolean |
invoke(WaitUntil.WaitCondition waitCondition,
int time,
TimeUnit unit,
int retryInterval)
Invokes the wait condition, trying every second for the configured
seconds
|
public static boolean invoke(WaitUntil.WaitCondition waitCondition)
waitCondition - The condition that determines when to stop waitingpublic static boolean invoke(WaitUntil.WaitCondition waitCondition, int tries)
waitCondition - The condition that determines when to stop waitingtries - The number of tries to attemptpublic static boolean invoke(WaitUntil.WaitCondition waitCondition, int time, TimeUnit unit, int retryInterval)
waitCondition - The condition that determines when to stop waitingtime - the amount of time to waitunit - the time unit time is specified inretryInterval - how often to re-check the condition (specified in
the supplied TimeUnit)Copyright © 2019 Atlassian. All rights reserved.