Package io.fluentlenium.adapter
Class ThreadLocalFluentControlContainer
java.lang.Object
io.fluentlenium.adapter.ThreadLocalFluentControlContainer
- All Implemented Interfaces:
FluentControlContainer
,FluentControlProvider
Alternative
FluentControlContainer
implementation, using a ThreadLocal variable to store the
FluentDriver
instance.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setFluentControl
(FluentControl fluentControl) Set the FluentControl for actual test.
-
Constructor Details
-
ThreadLocalFluentControlContainer
public ThreadLocalFluentControlContainer()
-
-
Method Details
-
getFluentControl
- Specified by:
getFluentControl
in interfaceFluentControlProvider
- Returns:
- FluentControl for actual test.
-
setFluentControl
Description copied from interface:FluentControlContainer
Set the FluentControl for actual test.- Specified by:
setFluentControl
in interfaceFluentControlContainer
- Parameters:
fluentControl
- FluentControl intialized for actual test.
-