Class FluentObjectFactory
java.lang.Object
cucumber.runtime.java.fluentlenium.FluentObjectFactory
- All Implemented Interfaces:
io.cucumber.core.backend.Container
,io.cucumber.core.backend.Lookup
,io.cucumber.core.backend.ObjectFactory
It is an object factory for creating Cucumber steps objects in FluentLenium injection
container.
It also configures a config class which is either a subclass of FluentCucumberTest
annotated with @FluentConfiguration
, or if there is no such class, then sets it as
null.
Since a FluentLenium configuration can be configured not only via the FluentConfiguration
annotation but in
other ways too, the config class can be null if there is no annotated class.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FluentObjectFactory
public FluentObjectFactory()
-
-
Method Details
-
start
public void start()- Specified by:
start
in interfaceio.cucumber.core.backend.ObjectFactory
-
stop
public void stop()- Specified by:
stop
in interfaceio.cucumber.core.backend.ObjectFactory
-
addClass
- Specified by:
addClass
in interfaceio.cucumber.core.backend.Container
-
getInstance
- Specified by:
getInstance
in interfaceio.cucumber.core.backend.Lookup
-