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, wait
execute
public CommandOperation getInput() throws InterruptedException
ConsoleCallback
getInput
in interface ConsoleCallback
InterruptedException
public String getInputLine() throws InterruptedException
ConsoleCallback
getInputLine
in interface ConsoleCallback
InterruptedException
public void setProcess(Process process)
ConsoleCallback
setProcess
in interface ConsoleCallback
process
- current processCopyright © 2021 JBoss by Red Hat. All rights reserved.