net.thevpc.nuts.toolbox.nsh.jshell.WatcherImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nsh Show documentation
Show all versions of nsh Show documentation
Nuts bash shell companion
package net.thevpc.nuts.toolbox.nsh.jshell;
public class WatcherImpl implements JShellContext.Watcher {
boolean stopped;
boolean askStopped;
int threads;
@Override
public void stop() {
if (!askStopped) {
askStopped = true;
}
}
@Override
public boolean isStopped() {
return stopped;
}
}