class GroovySystemRegistry
extends SystemRegistryImpl
Specializes the JLine system registry for groovysh pipeline syntax and assignments.
| Fields inherited from class | Fields |
|---|---|
class SystemRegistryImpl |
configPath, parser, workDir |
| 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. |
| Methods inherited from class | Name |
|---|---|
class SystemRegistryImpl |
addCompleter, cleanUp, close, commandAliases, commandDescription, commandDescription, commandInfo, commandNames, compileCompleters, completer, consoleEngine, consoleOption, consoleOption, execute, getPipeNames, groupCommandsInHelp, hasCommand, initialize, invoke, isCommandAlias, isCommandOrScript, isCommandOrScript, register, rename, renameLocal, setCommandRegistries, setConsoleOption, setGroupCommandsInHelp, setScriptDescription, terminal, trace, trace |
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.