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() |
long |
getTimeoutMs() |
int |
hashCode() |
WaitForOptions |
setInterval(int intervalMs) |
WaitForOptions |
setTimeoutMs(long timeoutMs) |
String |
toString() |
public static final int NEVER
public static WaitForOptions defaults()
WaitForOptions
public int getInterval()
public long getTimeoutMs()
public WaitForOptions setInterval(int intervalMs)
intervalMs
- the interval to use (in milliseconds)public WaitForOptions setTimeoutMs(long timeoutMs)
timeoutMs
- the timeout to use (in milliseconds)Copyright © 2023. All Rights Reserved.