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 WithTimeUnitsforNoLongerThan(int timeout)WithTimeUnitsforNoLongerThan(long timeout)Waitmilliseconds()Waitseconds()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:
forNoLongerThanin interfaceWithTimeout
-
forNoLongerThan
- Specified by:
forNoLongerThanin interfaceWithTimeout
-
seconds
- Specified by:
secondsin interfaceWithTimeUnits
-
milliseconds
- Specified by:
millisecondsin interfaceWithTimeUnits
-