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

io.specto.hoverfly.junit.api.model.ModeArguments Maven / Gradle / Ivy

There is a newer version: 0.19.1
Show newest version
package io.specto.hoverfly.junit.api.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ModeArguments {

    private List headersWhitelist;
    private String matchingStrategy;
    private boolean stateful;

    public ModeArguments() {
    }

    public ModeArguments(List headersWhitelist) {
        this.headersWhitelist = headersWhitelist;
    }

    public ModeArguments(List headersWhitelist, boolean stateful) {
        this.headersWhitelist = headersWhitelist;
        this.stateful = stateful;
    }

    public List getHeadersWhitelist() {
        return headersWhitelist;
    }

    public void setHeadersWhitelist(List headersWhitelist) {
        this.headersWhitelist = headersWhitelist;
    }


    public String getMatchingStrategy() {
        return matchingStrategy;
    }

    public void setMatchingStrategy(String matchingStrategy) {
        this.matchingStrategy = matchingStrategy;
    }

    public boolean isStateful() {
        return stateful;
    }

    public void setStateful(boolean stateful) {
        this.stateful = stateful;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy