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

com.github.dreamhead.moco.runner.ShutdownRunner Maven / Gradle / Ivy

Go to download

Moco is an easy setup stub framework, mainly focusing on testing and integration.

There is a newer version: 1.5.0
Show newest version
package com.github.dreamhead.moco.runner;

import com.github.dreamhead.moco.runner.watcher.ShutdownMocoRunnerWatcher;

public final class ShutdownRunner extends WatcherRunner {
    private final ShutdownMocoRunnerWatcher monitor;

    public ShutdownRunner(final Runner runner,
                          final ShutdownMocoRunnerWatcher watcher) {
        super(runner, watcher);
        this.monitor = watcher;
    }

    public int shutdownPort() {
        return this.monitor.port();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy