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

cucumber.runtime.Match Maven / Gradle / Ivy

There is a newer version: 7.18.0
Show newest version
package cucumber.runtime;

import io.cucumber.stepexpression.Argument;

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

// public for testing with mockito.
public class Match {

    private final List arguments;
    private final String location;
    public static final Match UNDEFINED = new Match(Collections.emptyList(), null);

    Match(List arguments, String location) {
        if(arguments == null) throw new NullPointerException("argument may not be null");
        this.arguments = arguments;
        this.location = location;
    }

    public List getArguments() {
        return arguments;
    }

    public String getLocation() {
        return location;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy