Package: org.codehaus.groovy.tools.shell

## [Groovy] Class ComplexCommandSupport

- org.codehaus.groovy.tools.shell.ComplexCommandSupport

- Support for more complex commands.

  Authors:
    Jason Dillon

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected String` | `defaultFunction` |
    `protected List<String>` | `functions` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class CommandSupport` | `NEWLINE, io, log, messages, registry, shell`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `def` | `do_all`

  - ### Constructor Summary

    Constructors
    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

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected List<Completer>` | `createCompleters()`
    `` | `Object` | `execute(List<String> args)`
    `` | `protected def` | `executeFunction(String fname, List<String> args)`
    `` | `protected Closure` | `loadFunction(String name)`

  - ### Inherited Methods Summary

    Inherited Methods
    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

    - #### def 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 def executeFunction(String fname, List<String> args)

    - #### protected Closure loadFunction(String name)