|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
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.
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(Groovysh shell, String name, String shortcut, List comFunctions)
|
|
ComplexCommandSupport(Groovysh shell, String name, String shortcut, List comFunctions, String defaultFunction)
|
Method Summary | |
---|---|
protected List
|
createCompleters()
|
Object
|
execute(List args)
|
protected def
|
executeFunction(String fname, List args)
|
List
|
getFunctions()
|
protected Closure
|
loadFunction(String name)
|
Methods inherited from class CommandSupport | |
---|---|
alias, assertNoArguments, createCompleters, fail, fail, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHistory, getImports, getUsage, getVariables |
Field Detail |
---|
protected String defaultFunction
protected List functions
Property Detail |
---|
def do_all
Constructor Detail |
---|
ComplexCommandSupport(Groovysh shell, String name, String shortcut, List comFunctions)
ComplexCommandSupport(Groovysh shell, String name, String shortcut, List comFunctions, String defaultFunction)
Method Detail |
---|
protected List createCompleters()
Object execute(List args)
protected def executeFunction(String fname, List args)
List getFunctions()
protected Closure loadFunction(String name)
Copyright © 2003-2013 The Codehaus. All rights reserved.