class GroovySystemRegistry
extends SystemRegistryImpl
Specializes the JLine system registry for groovysh pipeline syntax and assignments.
| Constructor and description |
|---|
GroovySystemRegistry(Parser parser, Terminal terminal, Supplier<Path> workDir, ConfigurationPath configPath)Creates the system registry used by groovysh. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Object |
execute(String line)Executes a shell line after normalizing groovysh-specific syntax. |
|
boolean |
isCommandOrScript(String command)Determines whether the token should be handled as a command or script name. |
Creates the system registry used by groovysh.
parser - command parserterminal - active terminalworkDir - supplier for the current working directoryconfigPath - configuration lookup pathCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.