cucumber.runtime.java
Class JavaHookDefinition

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

public class JavaHookDefinition
extends java.lang.Object
implements cucumber.runtime.HookDefinition


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

Constructor Detail

JavaHookDefinition

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

execute

public void execute(cucumber.runtime.ScenarioResult scenarioResult)
             throws java.lang.Throwable
Specified by:
execute in interface cucumber.runtime.HookDefinition
Throws:
java.lang.Throwable

matches

public boolean matches(java.util.Collection<java.lang.String> tags)
Specified by:
matches in interface cucumber.runtime.HookDefinition

getOrder

public int getOrder()
Specified by:
getOrder in interface cucumber.runtime.HookDefinition