[Groovy] Class ComplexCommandSupport
- org.codehaus.groovy.tools.shell.ComplexCommandSupport
 
@Deprecated abstract class ComplexCommandSupport extends CommandSupport
Support for more complex commands.
Field Summary
| Modifiers | Name | Description | 
|---|---|---|
protected String  |  defaultFunction |  |
protected List<String>  |  functions |  
| Fields inherited from class | Fields | 
|---|---|
class CommandSupport |  NEWLINE, io, log, messages, registry, shell |  
Properties Summary
| Type | Name and description | 
|---|---|
Object  |  
do_all |  
Constructor Summary
| 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) |  
Methods Summary
| 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) |  
Inherited Methods Summary
| 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 |  
Field Detail
protected final String defaultFunction
protected final List<String> functions
Property Detail
Object do_all
Constructor Detail
protected ComplexCommandSupport(Groovysh shell, String name, String shortcut, List<String> comFunctions)
protected ComplexCommandSupport(Groovysh shell, String name, String shortcut, List<String> comFunctions, String defaultFunction)
Method Detail
@Override protected List<Completer> createCompleters()
@Override Object execute(List<String> args)
protected Object executeFunction(String fname, List<String> args)
protected Closure loadFunction(String name)
    © 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
    https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/ComplexCommandSupport.html