Class CitrusObjectFactory
java.lang.Object
org.citrusframework.cucumber.backend.CitrusObjectFactory
- All Implemented Interfaces:
io.cucumber.core.backend.Container,io.cucumber.core.backend.Lookup,io.cucumber.core.backend.ObjectFactory
- Since:
- 2.6
- Author:
- Christoph Deppisch
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with static self reference initialization. -
Method Summary
Modifier and TypeMethodDescriptionboolean<T> TgetInstance(Class<T> type) static CitrusObjectFactoryinstance()Static access to self reference.voidstart()voidstop()
-
Constructor Details
-
CitrusObjectFactory
public CitrusObjectFactory()Default constructor with static self reference initialization.
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceio.cucumber.core.backend.ObjectFactory
-
stop
public void stop()- Specified by:
stopin interfaceio.cucumber.core.backend.ObjectFactory
-
getInstance
- Specified by:
getInstancein interfaceio.cucumber.core.backend.Lookup
-
addClass
- Specified by:
addClassin interfaceio.cucumber.core.backend.Container
-
instance
Static access to self reference.- Returns:
- Throws:
IllegalAccessException
-