net.thucydides.jbehave
Class ThucydidesStepFactory

Package class diagram package ThucydidesStepFactory
java.lang.Object
  extended by org.jbehave.core.steps.AbstractStepsFactory
      extended by net.thucydides.jbehave.ThucydidesStepFactory
All Implemented Interfaces:
org.jbehave.core.steps.InjectableStepsFactory

public class ThucydidesStepFactory
extends org.jbehave.core.steps.AbstractStepsFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory
org.jbehave.core.steps.AbstractStepsFactory.StepsInstanceNotFound
 
Constructor Summary
ThucydidesStepFactory(org.jbehave.core.configuration.Configuration configuration, String rootPackage)
           
 
Method Summary
 ThucydidesStepFactory andConfiguration(org.jbehave.core.configuration.Configuration configuration)
           
 List<org.jbehave.core.steps.CandidateSteps> createCandidateSteps()
           
 Object createInstanceOfType(Class<?> type)
           
 ThucydidesStepContext getContext()
           
static void resetContext()
           
protected  List<Class<?>> stepsTypes()
           
static ThucydidesStepFactory withStepsFromPackage(String rootPackage, List<org.jbehave.core.reporters.Format> formats)
           
 
Methods inherited from class org.jbehave.core.steps.AbstractStepsFactory
hasAnnotatedMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThucydidesStepFactory

public ThucydidesStepFactory(org.jbehave.core.configuration.Configuration configuration,
                             String rootPackage)
Method Detail

createCandidateSteps

public List<org.jbehave.core.steps.CandidateSteps> createCandidateSteps()
Specified by:
createCandidateSteps in interface org.jbehave.core.steps.InjectableStepsFactory
Overrides:
createCandidateSteps in class org.jbehave.core.steps.AbstractStepsFactory

stepsTypes

protected List<Class<?>> stepsTypes()
Specified by:
stepsTypes in class org.jbehave.core.steps.AbstractStepsFactory

createInstanceOfType

public Object createInstanceOfType(Class<?> type)

getContext

public ThucydidesStepContext getContext()

resetContext

public static void resetContext()

withStepsFromPackage

public static ThucydidesStepFactory withStepsFromPackage(String rootPackage,
                                                         List<org.jbehave.core.reporters.Format> formats)

andConfiguration

public ThucydidesStepFactory andConfiguration(org.jbehave.core.configuration.Configuration configuration)


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.