@Deprecated public interface ObjectFactory
Modifier and Type | Method and Description |
---|---|
boolean |
addClass(Class<?> glueClass)
Deprecated.
Collects glue classes in the classpath.
|
<T> T |
getInstance(Class<T> glueClass)
Deprecated.
Provides the glue instances used to execute the current scenario.
|
void |
start()
Deprecated.
Instantiate glue code before scenario execution.
|
void |
stop()
Deprecated.
Dispose glue code after scenario execution.
|
void start()
void stop()
boolean addClass(Class<?> glueClass)
glueClass
- Glue class containing cucumber.api annotations (Before, Given, When, ...)<T> T getInstance(Class<T> glueClass)
start()
.T
- type of Glue classglueClass
- type of instance to be created.Copyright © 2020. All rights reserved.