public class StepCreator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StepCreator.AbstractStep |
static class |
StepCreator.IgnorableStep |
static class |
StepCreator.Jsr330Helper
This is a different class, because the @Inject jar may not be in the
classpath.
|
static class |
StepCreator.ParameterNotFound |
class |
StepCreator.ParametrisedStep |
static class |
StepCreator.PendingStep |
class |
StepCreator.UponAnyParametrisedStep |
class |
StepCreator.UponFailureParametrisedStep |
class |
StepCreator.UponFailureStep |
class |
StepCreator.UponSuccessParametrisedStep |
class |
StepCreator.UponSuccessStep |
Modifier and Type | Field and Description |
---|---|
static UUIDExceptionWrapper |
NO_FAILURE |
static String |
PARAMETER_TABLE_END |
static String |
PARAMETER_TABLE_START |
static String |
PARAMETER_VALUE_END |
static String |
PARAMETER_VALUE_NEWLINE |
static String |
PARAMETER_VALUE_START |
Constructor and Description |
---|
StepCreator(Class<?> stepsType,
InjectableStepsFactory stepsFactory,
ParameterConverters parameterConverters,
ParameterControls parameterControls,
StepMatcher stepMatcher,
StepMonitor stepMonitor) |
Modifier and Type | Method and Description |
---|---|
Step |
createAfterStepUponOutcome(Method method,
AfterScenario.Outcome outcome,
Meta storyAndScenarioMeta) |
Step |
createBeforeOrAfterStep(Method method,
Meta meta) |
static Step |
createIgnorableStep(String stepAsString) |
Step |
createParametrisedStep(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters) |
Step |
createParametrisedStepUponOutcome(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters,
AfterScenario.Outcome outcome) |
static Step |
createPendingStep(String stepAsString,
String previousNonAndStep) |
void |
doDryRun(boolean dryRun) |
Map<String,String> |
matchedParameters(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters) |
Object |
stepsInstance() |
void |
useParanamer(Paranamer paranamer) |
void |
useStepMonitor(StepMonitor stepMonitor) |
public static final String PARAMETER_TABLE_START
public static final String PARAMETER_TABLE_END
public static final String PARAMETER_VALUE_START
public static final String PARAMETER_VALUE_END
public static final String PARAMETER_VALUE_NEWLINE
public static final UUIDExceptionWrapper NO_FAILURE
public StepCreator(Class<?> stepsType, InjectableStepsFactory stepsFactory, ParameterConverters parameterConverters, ParameterControls parameterControls, StepMatcher stepMatcher, StepMonitor stepMonitor)
public void useStepMonitor(StepMonitor stepMonitor)
public void useParanamer(Paranamer paranamer)
public void doDryRun(boolean dryRun)
public Object stepsInstance()
public Step createAfterStepUponOutcome(Method method, AfterScenario.Outcome outcome, Meta storyAndScenarioMeta)
public Map<String,String> matchedParameters(Method method, String stepAsString, String stepWithoutStartingWord, Map<String,String> namedParameters)
public Step createParametrisedStep(Method method, String stepAsString, String stepWithoutStartingWord, Map<String,String> namedParameters)
public Step createParametrisedStepUponOutcome(Method method, String stepAsString, String stepWithoutStartingWord, Map<String,String> namedParameters, AfterScenario.Outcome outcome)
public static Step createPendingStep(String stepAsString, String previousNonAndStep)
Copyright © 2003–2015. All rights reserved.