public class SerenityStepFactory
extends org.jbehave.core.steps.AbstractStepsFactory
| Constructor and Description |
|---|
SerenityStepFactory(org.jbehave.core.configuration.Configuration configuration,
java.lang.String rootPackage,
java.lang.ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
org.jbehave.core.steps.InjectableStepsFactory |
andClassLoader(java.lang.ClassLoader classLoader) |
SerenityStepFactory |
andConfiguration(org.jbehave.core.configuration.Configuration configuration) |
java.util.List<org.jbehave.core.steps.CandidateSteps> |
createCandidateSteps() |
java.lang.Object |
createInstanceOfType(java.lang.Class<?> type) |
SerenityStepContext |
getContext() |
static void |
resetContext() |
protected java.util.List<java.lang.Class<?>> |
stepsTypes() |
static SerenityStepFactory |
withStepsFromPackage(java.lang.String rootPackage,
org.jbehave.core.configuration.Configuration configuration) |
public SerenityStepFactory(org.jbehave.core.configuration.Configuration configuration,
java.lang.String rootPackage,
java.lang.ClassLoader classLoader)
public java.util.List<org.jbehave.core.steps.CandidateSteps> createCandidateSteps()
createCandidateSteps in interface org.jbehave.core.steps.InjectableStepsFactorycreateCandidateSteps in class org.jbehave.core.steps.AbstractStepsFactoryprotected java.util.List<java.lang.Class<?>> stepsTypes()
stepsTypes in class org.jbehave.core.steps.AbstractStepsFactorypublic java.lang.Object createInstanceOfType(java.lang.Class<?> type)
public SerenityStepContext getContext()
public static void resetContext()
public static SerenityStepFactory withStepsFromPackage(java.lang.String rootPackage, org.jbehave.core.configuration.Configuration configuration)
public SerenityStepFactory andConfiguration(org.jbehave.core.configuration.Configuration configuration)
public org.jbehave.core.steps.InjectableStepsFactory andClassLoader(java.lang.ClassLoader classLoader)