org.jbehave.core.parsers
Interface StepMatcher

All Known Implementing Classes:
RegexStepMatcher

public interface StepMatcher

A step matcher is responsible for matching steps against a given step pattern and extracting the parameters for the step


Method Summary
 boolean find(String stepWithoutStartingWord)
           
 boolean matches(String stepWithoutStartingWord)
           
 String parameter(int matchedPosition)
           
 String[] parameterNames()
           
 StepPattern pattern()
           
 

Method Detail

matches

boolean matches(String stepWithoutStartingWord)

find

boolean find(String stepWithoutStartingWord)

parameter

String parameter(int matchedPosition)

parameterNames

String[] parameterNames()

pattern

StepPattern pattern()


Copyright © 2003-2011. All Rights Reserved.