org.jbehave.core.parsers
Class RegexStepMatcher
java.lang.Object
org.jbehave.core.parsers.RegexStepMatcher
- All Implemented Interfaces:
- StepMatcher
public class RegexStepMatcher
- extends Object
- implements StepMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexStepMatcher
public RegexStepMatcher(StepType stepType,
String annotatedPattern,
Pattern regexPattern,
String[] parameterNames)
matches
public boolean matches(String stepWithoutStartingWord)
- Specified by:
matches
in interface StepMatcher
find
public boolean find(String stepWithoutStartingWord)
- Specified by:
find
in interface StepMatcher
parameter
public String parameter(int matchedPosition)
- Specified by:
parameter
in interface StepMatcher
parameterNames
public String[] parameterNames()
- Specified by:
parameterNames
in interface StepMatcher
pattern
public StepPattern pattern()
- Specified by:
pattern
in interface StepMatcher
Copyright © 2003-2012. All Rights Reserved.