Package net.serenitybdd.screenplay.waits
Class Wait.WaitBuilder
java.lang.Object
net.serenitybdd.screenplay.waits.Wait.WaitBuilder
- All Implemented Interfaces:
WithTimeout
,WithTimeUnits
- Enclosing class:
- Wait
public static class Wait.WaitBuilder extends java.lang.Object implements WithTimeout, WithTimeUnits
-
Constructor Summary
Constructors Constructor Description WaitBuilder(Question question, org.hamcrest.Matcher matcher)
-
Method Summary
Modifier and Type Method Description WithTimeUnits
forNoLongerThan(int timeout)
WithTimeUnits
forNoLongerThan(long timeout)
Wait
milliseconds()
Wait
seconds()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WaitBuilder
-
-
Method Details
-
forNoLongerThan
- Specified by:
forNoLongerThan
in interfaceWithTimeout
-
forNoLongerThan
- Specified by:
forNoLongerThan
in interfaceWithTimeout
-
seconds
- Specified by:
seconds
in interfaceWithTimeUnits
-
milliseconds
- Specified by:
milliseconds
in interfaceWithTimeUnits
-