Groovy 1.7.2

org.codehaus.groovy.tools.shell
Class InteractiveShellRunner

java.lang.Object
  org.codehaus.groovy.tools.shell.ShellRunner
      org.codehaus.groovy.tools.shell.InteractiveShellRunner

public class InteractiveShellRunner
extends ShellRunner

Support for running a Shell interactivly using the JLine library.

version:
$Id: InteractiveShellRunner.groovy 8806 2007-10-25 21:58:29Z user57 $
author:
Jason Dillon


Constructor Summary
InteractiveShellRunner(Shell shell, Closure prompt)

 
Method Summary
protected String readLine()

void run()

void setHistory(jline.History history)

void setHistoryFile(File file)

 
Methods inherited from class ShellRunner
readLine, run, work
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

InteractiveShellRunner

public InteractiveShellRunner(Shell shell, Closure prompt)


 
Method Detail

readLine

protected String readLine()


run

public void run()


setHistory

public void setHistory(jline.History history)


setHistoryFile

public void setHistoryFile(File file)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.