Groovy 1.8.4

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

java.lang.Object
  org.codehaus.groovy.tools.shell.CommandSupport
      org.codehaus.groovy.tools.shell.ComplexCommandSupport

abstract class ComplexCommandSupport
extends CommandSupport

Support for more complex commands.

Authors:
Jason Dillon
Version:
\$Id\$


Field Summary
protected String defaultFunction

protected List functions

 
Fields inherited from class CommandSupport
NEWLINE, io, log, messages, registry, shell
 
Property Summary
def do_all

 
Constructor Summary
ComplexCommandSupport(Shell shell, String name, String shortcut)

 
Method Summary
protected List createCompletors()

Object execute(List args)

protected def executeFunction(List args)

protected Closure loadFunction(String name)

 
Methods inherited from class CommandSupport
alias, assertNoArguments, createCompletors, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompletor, getDescription, getHelp, getHistory, getImports, getUsage, getVariables
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

defaultFunction

protected String defaultFunction


functions

protected List functions


 
Property Detail

do_all

def do_all


 
Constructor Detail

ComplexCommandSupport

ComplexCommandSupport(Shell shell, String name, String shortcut)


 
Method Detail

createCompletors

protected List createCompletors()


execute

Object execute(List args)


executeFunction

protected def executeFunction(List args)


loadFunction

protected Closure loadFunction(String name)


 

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