Package io.cucumber.core.runtime
Class SingletonRunnerSupplier
- java.lang.Object
-
- io.cucumber.core.runtime.SingletonRunnerSupplier
-
- All Implemented Interfaces:
RunnerSupplier
public final class SingletonRunnerSupplier extends Object implements RunnerSupplier
Returns a single unique runner.Not thread safe.
-
-
Constructor Summary
Constructors Constructor Description SingletonRunnerSupplier(Options runnerOptions, EventBus eventBus, BackendSupplier backendSupplier, ObjectFactorySupplier objectFactorySupplier, TypeRegistryConfigurerSupplier typeRegistryConfigurerSupplier)
-
-
-
Constructor Detail
-
SingletonRunnerSupplier
public SingletonRunnerSupplier(Options runnerOptions, EventBus eventBus, BackendSupplier backendSupplier, ObjectFactorySupplier objectFactorySupplier, TypeRegistryConfigurerSupplier typeRegistryConfigurerSupplier)
-
-
Method Detail
-
get
public Runner get()
- Specified by:
get
in interfaceRunnerSupplier
-
-