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

uk.co.automatictester.wiremock.maven.plugin.server.WireMockServer Maven / Gradle / Ivy

There is a newer version: 7.3.0
Show newest version
package uk.co.automatictester.wiremock.maven.plugin.server;

import com.github.tomakehurst.wiremock.standalone.WireMockServerRunner;

public class WireMockServer {

    private static final WireMockServer INSTANCE = new WireMockServer();
    private static final WireMockServerRunner WIREMOCK = new WireMockServerRunner();

    private WireMockServer() {
    }

    public static WireMockServer getInstance() {
        return INSTANCE;
    }

    public synchronized void run(String... params) {
        WIREMOCK.run(params);
    }

    public synchronized void stop() {
        WIREMOCK.stop();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy