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