cucumber.runtime.java
Class JavaStepDefinition

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

public class JavaStepDefinition
extends Object
implements StepDefinition


Constructor Summary
JavaStepDefinition(Method method, Pattern pattern, ObjectFactory objectFactory)
           
 
Method Summary
 void execute(gherkin.I18n i18n, Object[] args)
           
 String getLocation()
           
 List<ParameterType> getParameterTypes()
           
 String getPattern()
           
 boolean isDefinedAt(StackTraceElement e)
           
 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(Method method,
                          Pattern pattern,
                          ObjectFactory objectFactory)
Method Detail

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.