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

io.keploy.regression.context.Kcontext Maven / Gradle / Ivy

There is a newer version: 1.4.7
Show newest version
package io.keploy.regression.context;

import io.keploy.grpc.stubs.Service;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;

/**
 * Class for Keploy context which provides all the configuration required by keploy
 */
@Getter
@Setter
@NoArgsConstructor
public class Kcontext {

    private HttpServletRequest Request;

    private io.keploy.regression.Mode.ModeType Mode = io.keploy.regression.Mode.ModeType.MODE_RECORD;

    private Boolean FileExport = false;

    private String TestId;

    private List Deps = new ArrayList<>();

    private List Mock = new ArrayList<>();

    public Kcontext(HttpServletRequest request, io.keploy.regression.Mode.ModeType mode, Boolean fileExport, String testId, List deps, List mock) {
        Request = request;
        Mode = mode;
        FileExport = fileExport;
        TestId = testId;
        Deps = deps;
        Mock = mock;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy