io.cucumber.core.runner.HookTestStep Maven / Gradle / Ivy
package io.cucumber.core.runner;
import io.cucumber.plugin.event.HookType;
import java.util.UUID;
final class HookTestStep extends TestStep implements io.cucumber.plugin.event.HookTestStep {
private final HookType hookType;
private final HookDefinitionMatch definitionMatch;
HookTestStep(UUID id, HookType hookType, HookDefinitionMatch definitionMatch) {
super(id, definitionMatch);
this.hookType = hookType;
this.definitionMatch = definitionMatch;
}
@Override
public HookType getHookType() {
return hookType;
}
HookDefinitionMatch getDefinitionMatch() {
return definitionMatch;
}
}