|
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.Shell
class Shell
A simple shell for invoking commands from a command-line.
Field Summary | |
---|---|
protected Logger |
log
|
Property Summary | |
---|---|
IO |
io
|
CommandRegistry |
registry
|
Constructor Summary | |
Shell(IO io)
|
|
Shell()
|
Method Summary | |
---|---|
Object
|
execute(String line)
|
Command
|
findCommand(String line)
|
boolean
|
isExecutable(String line)
|
def
|
leftShift(String line)
|
Command
|
leftShift(Command command)
|
protected List
|
parseLine(String line)
|
Command
|
register(Command command)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected final Logger log
Property Detail |
---|
final IO io
final CommandRegistry registry
Constructor Detail |
---|
Shell(IO io)
Shell()
Method Detail |
---|
Object execute(String line)
Command findCommand(String line)
boolean isExecutable(String line)
def leftShift(String line)
Command leftShift(Command command)
protected List parseLine(String line)
Command register(Command command)
Copyright © 2003-2013 The Codehaus. All rights reserved.