public abstract class AeshConsoleCallback extends Object implements ConsoleCallback
| Constructor and Description |
|---|
AeshConsoleCallback() |
| Modifier and Type | Method and Description |
|---|---|
CommandOperation |
getInput()
A blocking call that will return user input from the terminal
|
String |
getInputLine()
A blocking call that will return user input from the terminal
after the user has pressed enter.
|
void |
setProcess(Process process)
Internally callback method
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic CommandOperation getInput() throws InterruptedException
ConsoleCallbackgetInput in interface ConsoleCallbackInterruptedExceptionpublic String getInputLine() throws InterruptedException
ConsoleCallbackgetInputLine in interface ConsoleCallbackInterruptedExceptionpublic void setProcess(Process process)
ConsoleCallbacksetProcess in interface ConsoleCallbackprocess - current processCopyright © 2018 JBoss by Red Hat. All rights reserved.