Groovy 2.2.1

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

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

class CommandRegistry

A registry of shell Command instances which may be executed.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
protected Logger log

 
Property Summary
List commands

A list of all of the registered commands.

 
Method Summary
List commands()

Command find(String name)

Command 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, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

log

protected final Logger log


 
Property Detail

commands

final List commands
A list of all of the registered commands.


 
Method Detail

commands

List commands()


find

Command find(String name)


getProperty

Command getProperty(String name)


iterator

Iterator iterator()


leftShift

def leftShift(Command command)


register

Command register(Command command)


remove

void remove(Command command)


 

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