Package io.fluentlenium.core.hook.wait
Class WaitHookOptions
java.lang.Object
io.fluentlenium.core.hook.wait.WaitHookOptions
Options for
WaitHook
.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCreates a new wait hook options, with default annotation options.WaitHookOptions
(TimeUnit timeUnit, Long atMost, TimeUnit pollingTimeUnit, Long pollingEvery, Collection<Class<? extends Throwable>> ignoreAll, boolean withNoDefaultsException) WaitHookOptions
(Wait annotation) Creates a new wait hook options, with given annotation options. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected FluentWait
configureAwait
(FluentWait await) Configure fluent wait with this options.Collection<Class<? extends Throwable>>
boolean
void
void
setIgnoreAll
(Collection<Class<? extends Throwable>> ignoreAll) void
setPollingEvery
(Long pollingEvery) void
setPollingTimeUnit
(TimeUnit pollingTimeUnit) void
setTimeUnit
(TimeUnit timeUnit) void
setWithNoDefaultsException
(boolean withNoDefaultsException)
-
Constructor Details
-
WaitHookOptions
public WaitHookOptions()Creates a new wait hook options, with default annotation options. -
WaitHookOptions
Creates a new wait hook options, with given annotation options.- Parameters:
annotation
- wait annotation
-
WaitHookOptions
-
-
Method Details
-
builder
-
configureAwait
Configure fluent wait with this options.- Parameters:
await
- fluent wait object to configure- Returns:
- configured fluent wait object
-
getTimeUnit
-
getAtMost
-
getPollingTimeUnit
-
getPollingEvery
-
getIgnoreAll
-
isWithNoDefaultsException
public boolean isWithNoDefaultsException() -
setTimeUnit
-
setAtMost
-
setPollingTimeUnit
-
setPollingEvery
-
setIgnoreAll
-
setWithNoDefaultsException
public void setWithNoDefaultsException(boolean withNoDefaultsException)
-