|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.ShellRunner org.codehaus.groovy.tools.shell.InteractiveShellRunner
class InteractiveShellRunner extends ShellRunner
Support for running a Shell interactively using the JLine library.
Field Summary |
---|
Fields inherited from class ShellRunner | |
---|---|
log |
Property Summary | |
---|---|
CommandsMultiCompletor |
completor
|
Closure |
prompt
|
jline.ConsoleReader |
reader
|
Constructor Summary | |
InteractiveShellRunner(Shell shell, Closure prompt)
|
Method Summary | |
---|---|
protected java.lang.String
|
readLine()
|
void
|
run()
|
void
|
setHistory(jline.History history)
|
void
|
setHistoryFile(java.io.File file)
|
protected boolean
|
work()
|
Methods inherited from class ShellRunner | |
---|---|
readLine, run, work |
Property Detail |
---|
final CommandsMultiCompletor completor
final Closure prompt
final jline.ConsoleReader reader
Constructor Detail |
---|
InteractiveShellRunner(Shell shell, Closure prompt)
Method Detail |
---|
protected java.lang.String readLine()
void run()
void setHistory(jline.History history)
void setHistoryFile(java.io.File file)
@Override protected boolean work()
Groovy Documentation