Groovy 2.1.0-rc-3

org.codehaus.groovy.tools.shell
[Groovy] Class Shell

java.lang.Object
  org.codehaus.groovy.tools.shell.Shell

class Shell

A simple shell for invoking commands from a command-line.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
protected org.codehaus.groovy.tools.shell.util.Logger log

 
Property Summary
org.codehaus.groovy.tools.shell.IO io

CommandRegistry registry

 
Constructor Summary
Shell(org.codehaus.groovy.tools.shell.IO io)

Shell()

 
Method Summary
Object execute(String line)

org.codehaus.groovy.tools.shell.Command findCommand(String line)

boolean isExecutable(String line)

def leftShift(String line)

def leftShift(org.codehaus.groovy.tools.shell.Command command)

protected List parseLine(String line)

org.codehaus.groovy.tools.shell.Command register(org.codehaus.groovy.tools.shell.Command command)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

log

protected final org.codehaus.groovy.tools.shell.util.Logger log


 
Property Detail

io

final org.codehaus.groovy.tools.shell.IO io


registry

final CommandRegistry registry


 
Constructor Detail

Shell

Shell(org.codehaus.groovy.tools.shell.IO io)


Shell

Shell()


 
Method Detail

execute

Object execute(String line)


findCommand

org.codehaus.groovy.tools.shell.Command findCommand(String line)


isExecutable

boolean isExecutable(String line)


leftShift

def leftShift(String line)


leftShift

def leftShift(org.codehaus.groovy.tools.shell.Command command)


parseLine

protected List parseLine(String line)


register

org.codehaus.groovy.tools.shell.Command register(org.codehaus.groovy.tools.shell.Command command)


 

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