cucumber.runtime.java
Class JavaStepDefinition

java.lang.Object
  extended by cucumber.runtime.java.JavaStepDefinition
All Implemented Interfaces:
cucumber.runtime.StepDefinition

public class JavaStepDefinition
extends java.lang.Object
implements cucumber.runtime.StepDefinition


Constructor Summary
JavaStepDefinition(java.lang.reflect.Method method, java.util.regex.Pattern pattern, ObjectFactory objectFactory)
           
 
Method Summary
 void execute(java.util.Locale locale, java.lang.Object[] args)
           
 java.lang.String getLocation()
           
 java.util.List<cucumber.runtime.ParameterType> getParameterTypes()
           
 java.lang.String getPattern()
           
 boolean isDefinedAt(java.lang.StackTraceElement e)
           
 java.util.List<gherkin.formatter.Argument> matchedArguments(gherkin.formatter.model.Step step)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaStepDefinition

public JavaStepDefinition(java.lang.reflect.Method method,
                          java.util.regex.Pattern pattern,
                          ObjectFactory objectFactory)
Method Detail

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