All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cucumber.core.runner.HookTestStep Maven / Gradle / Ivy

The newest version!
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy