public final class WaitForOptions extends Object
CommonUtils.waitFor(java.lang.String, java.util.function.Supplier<java.lang.Boolean>)
method.Modifier and Type | Field and Description |
---|---|
static int |
NEVER |
Modifier and Type | Method and Description |
---|---|
static WaitForOptions |
defaults() |
boolean |
equals(Object o) |
int |
getInterval() |
int |
getTimeoutMs() |
int |
hashCode() |
WaitForOptions |
setInterval(int intervalMs) |
WaitForOptions |
setTimeoutMs(int timeoutMs) |
String |
toString() |
public static final int NEVER
public static WaitForOptions defaults()
WaitForOptions
public int getInterval()
public int getTimeoutMs()
public WaitForOptions setInterval(int intervalMs)
intervalMs
- the interval to use (in milliseconds)public WaitForOptions setTimeoutMs(int timeoutMs)
timeoutMs
- the timeout to use (in milliseconds)Copyright © 2023. All Rights Reserved.