class GroovyConsoleEngine
extends ConsoleEngineImpl
Adapts the generic JLine console engine to groovysh command naming and printing behavior.
| Constructor and description |
|---|
GroovyConsoleEngine(ScriptEngine engine, Printer printer, Supplier<Path> workDir, ConfigurationPath configPath, LineReader reader)Creates the console-engine adapter used by groovysh. |
Creates the console-engine adapter used by groovysh.
engine - script engine that evaluates Groovy inputprinter - printer used for formatted outputworkDir - supplier for the current working directoryconfigPath - configuration lookup pathreader - line reader bound to the interactive shellCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.