public abstract class AeshConsoleCallback extends java.lang.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
|
java.lang.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, waitexecuteprivate Process process
public CommandOperation getInput() throws java.lang.InterruptedException
ConsoleCallbackgetInput in interface ConsoleCallbackjava.lang.InterruptedExceptionpublic java.lang.String getInputLine()
throws java.lang.InterruptedException
ConsoleCallbackgetInputLine in interface ConsoleCallbackjava.lang.InterruptedExceptionpublic void setProcess(Process process)
ConsoleCallbacksetProcess in interface ConsoleCallbackprocess - current process