T - self typepublic interface HookControl<T>
| Modifier and Type | Method and Description |
|---|---|
T |
noHook()
Disable all hooks from actual element.
|
T |
noHook(Class<? extends FluentHook>... hooks)
Disable given hook from actual element.
|
<R> R |
noHook(Class<? extends FluentHook> hook,
com.google.common.base.Function<T,R> function)
Invoke a function with no hook.
|
<R> R |
noHook(com.google.common.base.Function<T,R> function)
Invoke a function with no hook.
|
T |
noHookInstance()
Creates a new element locator instance with all hooks disabled.
|
T |
noHookInstance(Class<? extends FluentHook>... hooks)
Creates a new element locator instance with given hook disabled.
|
T |
restoreHooks()
Retore hooks that were defined initially.
|
<O,H extends FluentHook<O>> |
withHook(Class<H> hook)
Enable a hook with default options.
|
<O,H extends FluentHook<O>> |
withHook(Class<H> hook,
O options)
Enable a hook with given options.
|
T noHook()
T noHook(Class<? extends FluentHook>... hooks)
hooks - hook classes to disableT restoreHooks()
<O,H extends FluentHook<O>> T withHook(Class<H> hook)
O - Type of the hookH - Type of the hook optionshook - hook class to enable<O,H extends FluentHook<O>> T withHook(Class<H> hook, O options)
O - Type of the hookH - Type of the hook optionshook - hook class to enableoptions - hook options to apply<R> R noHook(com.google.common.base.Function<T,R> function)
R - return typefunction - function to invoke<R> R noHook(Class<? extends FluentHook> hook, com.google.common.base.Function<T,R> function)
R - return typehook - hook class to disablefunction - function to invokeT noHookInstance()
T noHookInstance(Class<? extends FluentHook>... hooks)
hooks - hook classes to disableCopyright © 2016 FluentLenium. All Rights Reserved.