com.github.dreamhead.moco.runner.watcher.CompositeWatcher 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.watcher;
public final class CompositeWatcher implements Watcher {
private final Iterable watchers;
public CompositeWatcher(final Iterable watchers) {
this.watchers = watchers;
}
@Override
public void start() {
for (Watcher watcher : watchers) {
watcher.start();
}
}
@Override
public void stop() {
for (Watcher watcher : watchers) {
watcher.stop();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy