public interface StepPatternParser
Parses a step pattern, as provided in the method annotations, creating a
StepMatcher
which will in turn match textual steps conforming to the pattern.
E.g.:
I give $money to $namewill match
I give �10 to Fredand the captured parameters will be "�10" and "Fred".
Modifier and Type | Method and Description |
---|---|
StepMatcher |
parseStep(StepType stepType,
java.lang.String stepPattern)
Parses a step pattern to create a step matcher
|
StepMatcher parseStep(StepType stepType, java.lang.String stepPattern)
stepType
- stepPattern
- the step patternCopyright © 2003-2014. All Rights Reserved.