cucumber.runtime.java
Class JavaStepDefinition
java.lang.Object
cucumber.runtime.java.JavaStepDefinition
- All Implemented Interfaces:
- cucumber.runtime.StepDefinition
public class JavaStepDefinition
- extends java.lang.Object
- implements cucumber.runtime.StepDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaStepDefinition
public JavaStepDefinition(java.lang.reflect.Method method,
java.util.regex.Pattern pattern,
ObjectFactory objectFactory)
execute
public void execute(java.util.Locale locale,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
execute
in interface cucumber.runtime.StepDefinition
- Throws:
java.lang.Throwable
matchedArguments
public java.util.List<gherkin.formatter.Argument> matchedArguments(gherkin.formatter.model.Step step)
- Specified by:
matchedArguments
in interface cucumber.runtime.StepDefinition
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation
in interface cucumber.runtime.StepDefinition
getParameterTypes
public java.util.List<cucumber.runtime.ParameterType> getParameterTypes()
- Specified by:
getParameterTypes
in interface cucumber.runtime.StepDefinition
isDefinedAt
public boolean isDefinedAt(java.lang.StackTraceElement e)
- Specified by:
isDefinedAt
in interface cucumber.runtime.StepDefinition
getPattern
public java.lang.String getPattern()
- Specified by:
getPattern
in interface cucumber.runtime.StepDefinition