public class ConsoleScanner
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private AbstractJettyMojo |
mojo |
Constructor and Description |
---|
ConsoleScanner(AbstractJettyMojo mojo) |
Modifier and Type | Method and Description |
---|---|
private void |
checkSystemInput() |
private void |
clearInputBuffer()
Skip buffered bytes of system console.
|
private void |
getSomeSleep() |
private void |
restartWebApp() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final AbstractJettyMojo mojo
public ConsoleScanner(AbstractJettyMojo mojo)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void getSomeSleep()
private void checkSystemInput() throws java.io.IOException
java.io.IOException
private void clearInputBuffer()
private void restartWebApp()