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

gherkin.ast.ScenarioDefinition Maven / Gradle / Ivy

The newest version!
package gherkin.ast;

import java.util.Collections;
import java.util.List;

public abstract class ScenarioDefinition extends Node {
    private final List tags;
    private final String keyword;
    private final String name;
    private final String description;
    private final List steps;

    public ScenarioDefinition(List tags, Location location, String keyword, String name, String description, List steps) {
        super(location);
        this.tags = Collections.unmodifiableList(tags);
        this.keyword = keyword;
        this.name = name;
        this.description = description;
        this.steps = Collections.unmodifiableList(steps);
    }

    public String getName() {
        return name;
    }

    public String getKeyword() {
        return keyword;
    }

    public String getDescription() {
        return description;
    }

    public List getSteps() {
        return steps;
    }

    public List getTags() {
        return tags;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy