Package org.jbehave.core.steps

Interface Summary
CandidateSteps Interface providing the list of step candidates, representing methods annotated with @Given, @When or @Then that can be matched.
InjectableStepsFactory Interface abstracting the creation of CandidateSteps.
ParameterConverters.ParameterConverter  
Parameters Provides parameter values as given types
Row Represents a row in an ExamplesTable.
Step A Step represents a runnable portion of a Scenario, which matches methods annotated in CandidateSteps instances.
StepCollector Represents the strategy for the collection of executable Steps from a story or scenario matching a list of CandidateSteps.
StepCreator.StepRunner  
StepFinder.PrioritisingStrategy Defines the priorising strategy of step candidates
StepMonitor Interface to monitor step events
StepResult  
 

Class Summary
AbstractStepResult Represents the possible step results: Failed NotPerformed Pending Successful Ignorable Skipped
AbstractStepResult.Failed  
AbstractStepResult.Ignorable  
AbstractStepResult.NotPerformed  
AbstractStepResult.Pending  
AbstractStepResult.Skipped  
AbstractStepResult.Successful  
AbstractStepsFactory An abstract implementation of InjectableStepsFactory that is provided by concrete subclasses Object instances which contain the candidate steps methods.
BeforeOrAfterStep A BeforeOrAfterStep is associated to a Java method annotated with BeforeStory, AfterStory, BeforeScenario or AfterScenario in a CandidatesSteps instance class.
ChainedRow Implementation of Row that chains delegate Rows in resolving requests for values.
ConvertedParameters Implementation of Parameters that uses ParameterConverters to convert values.
DelegatingStepMonitor  
InstanceStepsFactory An InjectableStepsFactory that is provided Object instances.
MarkUnmatchedStepsAsPending StepCollector that marks unmatched steps as AbstractStepResult.Pending.
NullStepMonitor Null Object Pattern> implementation of StepMonitor.
ParameterConverters Facade responsible for converting parameter values to Java objects.
ParameterConverters.BooleanConverter  
ParameterConverters.BooleanListConverter  
ParameterConverters.DateConverter Parses value to a Date using an injectable DateFormat (defaults to new SimpleDateFormat("dd/MM/yyyy"))
ParameterConverters.EnumConverter Parses value to any Enum
ParameterConverters.EnumListConverter Parses value to list of the same Enum, using an injectable value separator (defaults to ",") and trimming each element of the list.
ParameterConverters.ExamplesTableConverter Converts value to ExamplesTable using a ExamplesTableFactory.
ParameterConverters.MethodReturningConverter Invokes method on instance to return value.
ParameterConverters.NumberConverter Converts values to numbers, supporting any subclass of Number (including generic Number type), and it unboxed counterpart, using a NumberFormat to parse to a Number and to convert it to a specific number type: Byte, byte: Number.byteValue() Short, short: Number.shortValue() Integer, int: Number.intValue() Float, float: Number.floatValue() Long, long: Number.longValue() Double, double: Number.doubleValue() BigInteger: BigInteger#valueOf(Long) BigDecimal: BigDecimal#valueOf(Double) If no number format is provided, it defaults to NumberFormat#getInstance(Locale.ENGLISH).
ParameterConverters.NumberListConverter Converts value to list of numbers.
ParameterConverters.StringListConverter Converts value to list of String.
PendingStepMethodGenerator  
PrintStreamStepMonitor StepMonitor that prints to a PrintStream, defaulting to System.out.
SilentStepMonitor StepMonitor that prints nothings.
StepCandidate A StepCandidate is associated to a Java method annotated with Given, When, Then in a steps instance class.
StepCreator  
StepCreator.AbstractStep  
StepCreator.IgnorableStep  
StepCreator.Jsr330Helper This is a different class, because the @Inject jar may not be in the classpath.
StepCreator.PendingStep  
Stepdoc A Stepdoc represents the documentation on a single StepCandidate, which includes: the step type the pattern to match the step candidate that is configured in the annotation the method in the steps instance class the steps instance class
StepFinder StepFinder is reponsible for finding and prioritising step candidates or finding steps instances from CandidateSteps, which are created using an InjectableStepsFactory.
StepFinder.ByLevenshteinDistance Strategy to priorise candidate steps by Levenshtein Distance
StepFinder.ByPriorityField Strategy to priorise step candidates by the StepCandidate.getPriority() field which is settable in the Given, When, Then annotations.
Steps Default implementation of CandidateSteps which provides the step candidates that match the steps being run.
 

Enum Summary
StepCollector.Stage  
StepType Enum representing the step types
 

Exception Summary
ParameterConverters.ParameterConvertionFailed  
PendingStepMethodGenerator.StartingWordNotFound  
StepCandidate.StartingWordNotFound  
StepCreator.ParameterNotFound  
Steps.DuplicateCandidateFound  
 



Copyright © 2003-2011. All Rights Reserved.