[Groovy] Class InteractiveShellRunner
- org.codehaus.groovy.tools.shell.InteractiveShellRunner
- All Implemented Interfaces and Traits:
- Runnable
@Deprecated class InteractiveShellRunner extends ShellRunner implements Runnable
Support for running a Shell interactively using the JLine library.
Fields inherited from class | Fields |
---|---|
class ShellRunner | log |
Properties Summary
Type | Name and description |
---|---|
CommandsMultiCompleter |
completer |
Closure |
prompt |
ConsoleReader |
reader |
WrappedInputStream |
wrappedInputStream |
Constructor Summary
Constructor and description |
---|
InteractiveShellRunner
(Groovysh shell, Closure prompt) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected String |
readLine() | |
void |
run() | |
void |
setHistory(FileHistory history) | |
protected boolean |
work() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class ShellRunner | readLine, run, work |
Property Detail
final CommandsMultiCompleter completer
final Closure prompt
ConsoleReader reader
WrappedInputStream wrappedInputStream
Constructor Detail
InteractiveShellRunner(Groovysh shell, Closure prompt)
Method Detail
@Override protected String readLine()
@Override void run()
void setHistory(FileHistory history)
@Override protected boolean work()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/InteractiveShellRunner.html