@AutoFinal @CompileStatic class InteractiveShellRunner extends ShellRunner implements Runnable
Support for running a Shell interactively using the JLine library.
| Fields inherited from class | Fields |
|---|---|
class ShellRunner |
log |
| Type | Name and description |
|---|---|
CommandsMultiCompleter |
completer |
Closure |
prompt |
jline.console.ConsoleReader |
reader |
WrappedInputStream |
wrappedInputStream |
| Properties inherited from class | Properties |
|---|---|
class ShellRunner |
breakOnNull, errorHandler, running, shell |
| Constructor and description |
|---|
InteractiveShellRunner(Groovysh shell, Closure prompt) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected String |
readLine() |
|
void |
run() |
|
void |
setHistory(jline.console.history.FileHistory history) |
|
protected boolean |
work() |
| Methods inherited from class | Name |
|---|---|
class ShellRunner |
readLine, run, work |
Copyright © 2003-2024 The Apache Software Foundation. All rights reserved.