@AutoFinal @CompileStatic class InteractiveShellRunner extends ShellRunner
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 |
ConsoleReader |
reader |
WrappedInputStream |
wrappedInputStream |
Constructor and description |
---|
InteractiveShellRunner
(Groovysh shell, Closure prompt) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected String |
readLine() |
|
void |
run() |
|
void |
setHistory(FileHistory history) |
|
protected boolean |
work() |
Methods inherited from class | Name |
---|---|
class ShellRunner |
readLine, run, work |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.