[Groovy] Class InteractiveShellRunner
- org.apache.groovy.groovysh.InteractiveShellRunner
-
All Implemented Interfaces and Traits:
-
Runnable
class InteractiveShellRunner
extends ShellRunner
implements Runnable
Support for running a Shell interactively using the JLine library.
Inherited fields
Fields inherited from class |
Fields |
class ShellRunner |
log |
Properties Summary
Constructor Summary
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
protected String |
readLine()
|
|
void |
run()
|
|
void |
setHistory(jline.console.history.FileHistory history)
|
|
protected boolean |
work()
|
Inherited Methods Summary
Property Detail
final org.apache.groovy.groovysh.CommandsMultiCompleter completer
jline.console.ConsoleReader reader
Constructor Detail
InteractiveShellRunner(Groovysh shell, Closure prompt)
Method Detail
void setHistory(jline.console.history.FileHistory history)
@Override protected boolean work()