com.github.dreamhead.moco.runner.ShutdownRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-runner Show documentation
Show all versions of moco-runner Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
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