public class RegexStepMatcher extends Object implements StepMatcher
| Constructor and Description |
|---|
RegexStepMatcher(StepType stepType,
String annotatedPattern,
Pattern regexPattern,
String[] parameterNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
find(String stepWithoutStartingWord) |
boolean |
matches(String stepWithoutStartingWord) |
String |
parameter(int matchedPosition) |
String[] |
parameterNames() |
StepPattern |
pattern() |
public boolean matches(String stepWithoutStartingWord)
matches in interface StepMatcherpublic boolean find(String stepWithoutStartingWord)
find in interface StepMatcherpublic String parameter(int matchedPosition)
parameter in interface StepMatcherpublic String[] parameterNames()
parameterNames in interface StepMatcherpublic StepPattern pattern()
pattern in interface StepMatcherCopyright © 2003–2016. All rights reserved.