Support for more complex commands.
Modifiers | Name | Description |
---|---|---|
protected String |
defaultFunction |
|
protected List |
functions |
Constructor and description |
---|
protected ComplexCommandSupport
(Groovysh shell, String name, String shortcut, List comFunctions) |
protected ComplexCommandSupport
(Groovysh shell, String name, String shortcut, List comFunctions, String defaultFunction) |
ComplexCommandSupport
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected List |
createCompleters() |
|
Object |
execute(List args) |
|
protected Object |
executeFunction(String fname, List args) |
|
protected Closure |
loadFunction(String name) |
Methods inherited from class | Name |
---|---|
class CommandSupport |
alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.