cucumber.runtime
Class RuntimeGlue

java.lang.Object
  extended by cucumber.runtime.RuntimeGlue
All Implemented Interfaces:
Glue

public class RuntimeGlue
extends Object
implements Glue


Constructor Summary
RuntimeGlue(UndefinedStepsTracker tracker, LocalizedXStreams localizedXStreams)
           
 
Method Summary
 void addAfterHook(HookDefinition hookDefinition)
           
 void addBeforeHook(HookDefinition hookDefinition)
           
 void addStepDefinition(StepDefinition stepDefinition)
           
 List<HookDefinition> getAfterHooks()
           
 List<HookDefinition> getBeforeHooks()
           
 StepDefinitionMatch stepDefinitionMatch(String uri, gherkin.formatter.model.Step step, gherkin.I18n i18n)
           
 void writeStepdefsJson(List<String> featurePaths, File dotCucumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeGlue

public RuntimeGlue(UndefinedStepsTracker tracker,
                   LocalizedXStreams localizedXStreams)
Method Detail

addStepDefinition

public void addStepDefinition(StepDefinition stepDefinition)
Specified by:
addStepDefinition in interface Glue

addBeforeHook

public void addBeforeHook(HookDefinition hookDefinition)
Specified by:
addBeforeHook in interface Glue

addAfterHook

public void addAfterHook(HookDefinition hookDefinition)
Specified by:
addAfterHook in interface Glue

getBeforeHooks

public List<HookDefinition> getBeforeHooks()
Specified by:
getBeforeHooks in interface Glue

getAfterHooks

public List<HookDefinition> getAfterHooks()
Specified by:
getAfterHooks in interface Glue

stepDefinitionMatch

public StepDefinitionMatch stepDefinitionMatch(String uri,
                                               gherkin.formatter.model.Step step,
                                               gherkin.I18n i18n)
Specified by:
stepDefinitionMatch in interface Glue

writeStepdefsJson

public void writeStepdefsJson(List<String> featurePaths,
                              File dotCucumber)
                       throws IOException
Specified by:
writeStepdefsJson in interface Glue
Throws:
IOException


Copyright © 2012. All Rights Reserved.