|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.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 String
|
readLine()
|
void
|
run()
|
void
|
setHistory(jline.History history)
|
void
|
setHistoryFile(File file)
|
protected boolean
|
work()
|
Methods inherited from class ShellRunner | |
---|---|
readLine, run, work |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
final CommandsMultiCompletor completor
final Closure prompt
final jline.ConsoleReader reader
Constructor Detail |
---|
InteractiveShellRunner(Shell shell, Closure prompt)
Method Detail |
---|
protected String readLine()
void run()
void setHistory(jline.History history)
void setHistoryFile(File file)
@Override protected boolean work()
Copyright © 2003-2011 The Codehaus. All rights reserved.