|
Groovy Documentation | |||||||
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 | |
---|---|
java.lang.Object
|
execute(java.lang.String line)
|
Command
|
findCommand(java.lang.String line)
|
boolean
|
isExecutable(java.lang.String line)
|
java.lang.Object
|
leftShift(java.lang.String line)
|
java.lang.Object
|
leftShift(Command command)
|
protected java.util.List
|
parseLine(java.lang.String line)
|
Command
|
register(Command command)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected final Logger log
Property Detail |
---|
final IO io
final CommandRegistry registry
Constructor Detail |
---|
Shell(IO io)
Shell()
Method Detail |
---|
java.lang.Object execute(java.lang.String line)
Command findCommand(java.lang.String line)
boolean isExecutable(java.lang.String line)
java.lang.Object leftShift(java.lang.String line)
java.lang.Object leftShift(Command command)
protected java.util.List parseLine(java.lang.String line)
Command register(Command command)
Groovy Documentation