|
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.CommandRegistry
class CommandRegistry extends Object
A registry of shell Command instances which may be executed.
| Property Summary | |
|---|---|
List |
commands
A list of all of the registered commands. |
protected Logger |
log
|
| Constructor Summary | |
CommandRegistry()
|
|
| Method Summary | |
|---|---|
List
|
commands()
|
Command
|
find(String name)
|
def
|
getProperty(String name)
|
Iterator
|
iterator()
|
def
|
leftShift(Command command)
|
Command
|
register(Command command)
|
void
|
remove(Command command)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
| Property Detail |
|---|
final List commands
protected final Logger log
| Constructor Detail |
|---|
CommandRegistry()
| Method Detail |
|---|
List commands()
Command find(String name)
public def getProperty(String name)
Iterator iterator()
public def leftShift(Command command)
Command register(Command command)
void remove(Command command)
Copyright © 2003-2009 The Codehaus. All rights reserved.