Class FluentObjectFactory

  • All Implemented Interfaces:
    cucumber.api.java.ObjectFactory

    public class FluentObjectFactory
    extends Object
    implements cucumber.api.java.ObjectFactory
    It is an object factory for creating Cucumber steps objects in FluentLenium injection container
    • Constructor Detail

      • FluentObjectFactory

        public FluentObjectFactory()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface cucumber.api.java.ObjectFactory
      • stop

        public void stop()
        Specified by:
        stop in interface cucumber.api.java.ObjectFactory
      • addClass

        public boolean addClass​(Class<?> aClass)
        Specified by:
        addClass in interface cucumber.api.java.ObjectFactory
      • getInstance

        public <T> T getInstance​(Class<T> type)
        Specified by:
        getInstance in interface cucumber.api.java.ObjectFactory