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

net.thevpc.nuts.toolbox.nsh.jshell.WatcherImpl Maven / Gradle / Ivy

There is a newer version: 0.8.3.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy