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 |
|---|---|
private CommandsMultiCompleter |
completer |
private Closure |
prompt |
private ConsoleReader |
reader |
private WrappedInputStream |
wrappedInputStream |
| Constructor and description |
|---|
InteractiveShellRunner
(Groovysh shell, Closure prompt) |
InteractiveShellRunner
() |
| 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-2020 The Apache Software Foundation. All rights reserved.