org.jbehave.scenario.steps
Class StepsConfiguration
java.lang.Object
org.jbehave.scenario.steps.StepsConfiguration
public class StepsConfiguration
- extends java.lang.Object
Class allowing steps functionality to be fully configurable, while providing
default values for most commonly-used cases.
Configuration dependencies can be provided either via constructor or via
setters (called use* methods to underline that a default value of the
dependency is always set, but can be overridden). The use methods allow to
override the dependencies one by one and play nicer with a Java hierarchical
structure, in that does allow the use of non-static member variables.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepsConfiguration
public StepsConfiguration()
StepsConfiguration
public StepsConfiguration(KeyWords keywords)
StepsConfiguration
public StepsConfiguration(ParameterConverters converters)
StepsConfiguration
public StepsConfiguration(StepPatternBuilder patternBuilder,
StepMonitor monitor,
com.thoughtworks.paranamer.Paranamer paranamer,
ParameterConverters parameterConverters,
KeyWords keywords)
StepsConfiguration
public StepsConfiguration(java.lang.String... startingWords)
StepsConfiguration
public StepsConfiguration(StepPatternBuilder patternBuilder,
StepMonitor monitor,
com.thoughtworks.paranamer.Paranamer paranamer,
ParameterConverters parameterConverters,
java.lang.String... startingWords)
startingWordsFrom
protected java.lang.String[] startingWordsFrom(KeyWords keywords)
getPatternBuilder
public StepPatternBuilder getPatternBuilder()
usePatternBuilder
public void usePatternBuilder(StepPatternBuilder patternBuilder)
getMonitor
public StepMonitor getMonitor()
useMonitor
public void useMonitor(StepMonitor monitor)
getParanamer
public com.thoughtworks.paranamer.Paranamer getParanamer()
useParanamer
public void useParanamer(com.thoughtworks.paranamer.Paranamer paranamer)
getParameterConverters
public ParameterConverters getParameterConverters()
useParameterConverters
public void useParameterConverters(ParameterConverters parameterConverters)
getStartingWords
public java.lang.String[] getStartingWords()
useStartingWords
public void useStartingWords(java.lang.String... startingWords)
getKeywords
public KeyWords getKeywords()
useKeyWords
public void useKeyWords(KeyWords keywords)
Copyright © 2003-2009. All Rights Reserved.