Package io.cucumber.core.runtime
Class ThreadLocalRunnerSupplier
java.lang.Object
io.cucumber.core.runtime.ThreadLocalRunnerSupplier
- All Implemented Interfaces:
RunnerSupplier
Creates a distinct runner for each calling thread. Each runner has its own
bus, backend- and glue-suppliers.
Each runners bus passes all events to the event bus of this supplier.
-
Constructor Summary
ConstructorDescriptionThreadLocalRunnerSupplier
(Options runnerOptions, EventBus sharedEventBus, BackendSupplier backendSupplier, ObjectFactorySupplier objectFactorySupplier) -
Method Summary
-
Constructor Details
-
ThreadLocalRunnerSupplier
public ThreadLocalRunnerSupplier(Options runnerOptions, EventBus sharedEventBus, BackendSupplier backendSupplier, ObjectFactorySupplier objectFactorySupplier)
-
-
Method Details
-
get
- Specified by:
get
in interfaceRunnerSupplier
-