public interface ISequenceBuilder<T extends ISequenceBuilder<T>>
| Modifier and Type | Method and Description |
|---|---|
ISubSequenceBuilder<T> |
loop(int iterations)
start a finite loop with a given number of iterations
|
default T |
sleep(long millis)
adds a step that sleeps for a given number of milliseconds.
|
T |
step(InterruptibleRunnable step)
adds a step to the sequence
|
T step(InterruptibleRunnable step)
default T sleep(long millis)
Thread.sleep(long) internallyISubSequenceBuilder<T> loop(int iterations)
iterations - the number of times the loop should be repeatedCopyright © 2018. All Rights Reserved.