cucumber.runtime.java
Class JavaHookDefinition

java.lang.Object
  extended by cucumber.runtime.java.JavaHookDefinition
All Implemented Interfaces:
HookDefinition

public class JavaHookDefinition
extends Object
implements HookDefinition


Constructor Summary
JavaHookDefinition(Method method, String[] tagExpressions, int order, ObjectFactory objectFactory)
           
 
Method Summary
 void execute(ScenarioResult scenarioResult)
           
 int getOrder()
           
 boolean matches(Collection<gherkin.formatter.model.Tag> tags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaHookDefinition

public JavaHookDefinition(Method method,
                          String[] tagExpressions,
                          int order,
                          ObjectFactory objectFactory)
Method Detail

execute

public void execute(ScenarioResult scenarioResult)
             throws Throwable
Specified by:
execute in interface HookDefinition
Throws:
Throwable

matches

public boolean matches(Collection<gherkin.formatter.model.Tag> tags)
Specified by:
matches in interface HookDefinition

getOrder

public int getOrder()
Specified by:
getOrder in interface HookDefinition


Copyright © 2012. All Rights Reserved.