Groovy 1.7.2

org.codehaus.groovy.tools.shell
Class CommandRegistry

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

public class CommandRegistry
extends Object

A registry of shell Command instances which may be executed.

version:
$Id: CommandRegistry.groovy 7581 2007-08-23 01:47:47Z user57 $
author:
Jason Dillon


Property Summary
protected Logger log

 
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

log

protected final Logger log


 
Method Detail

commands

public List commands()


find

public Command find(String name)


getProperty

public def getProperty(String name)


iterator

public Iterator iterator()


leftShift

public def leftShift(Command command)


register

public Command register(Command command)


remove

public void remove(Command command)


 

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