cucumber.runtime.java
Class JavaHookDefinition
java.lang.Object
cucumber.runtime.java.JavaHookDefinition
- All Implemented Interfaces:
- HookDefinition
public class JavaHookDefinition
- extends Object
- implements HookDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaHookDefinition
public JavaHookDefinition(Method method,
String[] tagExpressions,
int order,
ObjectFactory objectFactory)
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.