org.jbehave.core.steps
Class StepCreator
java.lang.Object
org.jbehave.core.steps.StepCreator
public class StepCreator
- extends Object
Method Summary |
Step |
createAfterStepUponOutcome(Method method,
AfterScenario.Outcome outcome,
boolean failureOccured)
|
Step |
createBeforeOrAfterStep(Method method)
|
static Step |
createIgnorableStep(String stepAsString)
|
Step |
createParametrisedStep(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters)
|
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)
|
void |
useParanamer(com.thoughtworks.paranamer.Paranamer paranamer)
|
void |
useStepMonitor(StepMonitor stepMonitor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_NAME_START
public static final String PARAMETER_NAME_START
- See Also:
- Constant Field Values
PARAMETER_NAME_END
public static final String PARAMETER_NAME_END
- See Also:
- Constant Field Values
PARAMETER_VALUE_START
public static final String PARAMETER_VALUE_START
- See Also:
- Constant Field Values
PARAMETER_VALUE_END
public static final String PARAMETER_VALUE_END
- See Also:
- Constant Field Values
PARAMETER_VALUE_NEWLINE
public static final String PARAMETER_VALUE_NEWLINE
- See Also:
- Constant Field Values
NO_FAILURE
public static final UUIDExceptionWrapper NO_FAILURE
StepCreator
public StepCreator(Object stepsInstance,
StepMonitor stepMonitor)
StepCreator
public StepCreator(Object stepsInstance,
ParameterConverters parameterConverters,
StepMatcher stepMatcher,
StepMonitor stepMonitor)
useStepMonitor
public void useStepMonitor(StepMonitor stepMonitor)
useParanamer
public void useParanamer(com.thoughtworks.paranamer.Paranamer paranamer)
doDryRun
public void doDryRun(boolean dryRun)
createBeforeOrAfterStep
public Step createBeforeOrAfterStep(Method method)
createAfterStepUponOutcome
public Step createAfterStepUponOutcome(Method method,
AfterScenario.Outcome outcome,
boolean failureOccured)
matchedParameters
public Map<String,String> matchedParameters(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters)
createParametrisedStep
public Step createParametrisedStep(Method method,
String stepAsString,
String stepWithoutStartingWord,
Map<String,String> namedParameters)
createPendingStep
public static Step createPendingStep(String stepAsString,
String previousNonAndStep)
createIgnorableStep
public static Step createIgnorableStep(String stepAsString)
Copyright © 2003-2011. All Rights Reserved.