public static class AppiumFluentWait.IterationInfo
extends java.lang.Object
Constructor and Description |
---|
IterationInfo(long number,
java.time.Duration elapsed,
java.time.Duration total,
java.time.Duration interval)
The class is used to represent information about a single loop iteration in
AppiumFluentWait.until(Function)
method. |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getElapsed()
The amount of elapsed time.
|
java.time.Duration |
getInterval()
The current interval.
|
long |
getNumber()
The current iteration number.
|
java.time.Duration |
getTotal()
The amount of total time.
|
public IterationInfo(long number, java.time.Duration elapsed, java.time.Duration total, java.time.Duration interval)
AppiumFluentWait.until(Function)
method.number
- loop iteration number, starts from 1elapsed
- the amount of elapsed time since the loop startedtotal
- the amount of total time to run the loopinterval
- the default time interval for each loop iterationpublic long getNumber()
public java.time.Duration getElapsed()
public java.time.Duration getTotal()
public java.time.Duration getInterval()