class GroovyBuiltins
extends Builtins
Registers console built-ins that integrate JLine commands with the Groovy shell buffer.
| Constructor and description |
|---|
GroovyBuiltins(GroovyEngine engine, Supplier<Path> workDir, ConfigurationPath configPath, LineReader reader, Function<String, Widget> widgetCreator)Creates the built-in command registry used by groovysh. |
Creates the built-in command registry used by groovysh.
engine - shell engine that owns the current bufferworkDir - supplier for the current working directoryconfigPath - configuration lookup pathreader - active line readerwidgetCreator - widget factory used by the parent built-insCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.