Package: org.apache.groovy.groovysh.jline

## [Groovy] Class GroovyBuiltins

- org.apache.groovy.groovysh.jline.GroovyBuiltins

-     class GroovyBuiltins
      extends Builtins

  Registers console built-ins that integrate JLine commands with the Groovy shell buffer.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `GroovyBuiltins(GroovyEngine engine, Supplier<Path> workDir, ConfigurationPath configPath, LineReader reader, Function<String, org.jline.reader.Widget> widgetCreator)` Creates the built-in command registry used by groovysh.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `String` | `name()` Returns the help-group name used for the built-in commands.

- - ### Constructor Detail

    - #### GroovyBuiltins(GroovyEngine engine, Supplier<Path> workDir, ConfigurationPath configPath, LineReader reader, Function<String, org.jline.reader.Widget> widgetCreator)

      Creates the built-in command registry used by groovysh.

      Parameters:
        `engine` - shell engine that owns the current buffer
        `workDir` - supplier for the current working directory
        `configPath` - configuration lookup path
        `reader` - active line reader
        `widgetCreator` - widget factory used by the parent built-ins

  - ### Method Detail

    - #### @Override
      String name()

      Returns the help-group name used for the built-in commands.

      Returns:
        the console command group name