|
Groovy 2.2.0 | |||||||
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 | |
---|---|
CommandsMultiCompleter |
completer
|
Closure |
prompt
|
ConsoleReader |
reader
|
WrappedInputStream |
wrappedInputStream
|
Constructor Summary | |
InteractiveShellRunner(Groovysh shell, Closure prompt)
|
Method Summary | |
---|---|
protected String
|
readLine()
|
void
|
run()
|
void
|
setHistory(FileHistory history)
|
protected boolean
|
work()
|
Methods inherited from 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 |
---|
protected String readLine()
void run()
void setHistory(FileHistory history)
@Override protected boolean work()
Copyright © 2003-2013 The Codehaus. All rights reserved.