|
Groovy 1.7.0 | |||||||
| 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 interactivly using the JLine library.
| Property Summary | |
|---|---|
CommandsMultiCompletor |
completor
|
Closure |
prompt
|
ConsoleReader |
reader
|
| Constructor Summary | |
InteractiveShellRunner(Shell shell, Closure prompt)
|
|
| Method Summary | |
|---|---|
protected String
|
readLine()
|
void
|
run()
|
void
|
setHistory(History history)
|
void
|
setHistoryFile(File file)
|
| Methods inherited from class ShellRunner | |
|---|---|
| readLine, work |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Property Detail |
|---|
final CommandsMultiCompletor completor
final Closure prompt
final ConsoleReader reader
| Constructor Detail |
|---|
public InteractiveShellRunner(Shell shell, Closure prompt)
| Method Detail |
|---|
protected String readLine()
void run()
void setHistory(History history)
void setHistoryFile(File file)
Copyright © 2003-2009 The Codehaus. All rights reserved.