abstract class ComplexCommandSupport extends CommandSupport
Support for more complex commands.
Modifiers | Name | Description |
---|---|---|
protected String |
defaultFunction |
|
protected List<String> |
functions |
Constructor and description |
---|
protected ComplexCommandSupport
(Groovysh shell, String name, String shortcut, List<String> comFunctions) |
protected ComplexCommandSupport
(Groovysh shell, String name, String shortcut, List<String> comFunctions, String defaultFunction) |
ComplexCommandSupport
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected List<Completer> |
createCompleters() |
|
Object |
execute(List<String> args) |
|
protected Object |
executeFunction(String fname, List<String> 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.