public class SystemRegistryImpl extends Object implements org.jline.console.SystemRegistry
Aggregate command registries.
| Modifiers | Name | Description | 
|---|---|---|
| protected static class | SystemRegistryImpl.CommandData | |
| enum | SystemRegistryImpl.Pipe | |
| static class | SystemRegistryImpl.UnknownCommandException | 
| Modifiers | Name | Description | 
|---|---|---|
| protected org.jline.builtins.ConfigurationPath | configPath | |
| protected org.jline.reader.Parser | parser | |
| protected Supplier<Path> | workDir | 
| Constructor and description | 
|---|
| SystemRegistryImpl(org.jline.reader.Parser parser, org.jline.terminal.Terminal terminal, Supplier<Path> workDir, org.jline.builtins.ConfigurationPath configPath) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public void | addCompleter(org.jline.reader.Completer completer) | 
|  | public void | cleanUp() | 
|  | public void | close() | 
|  | public Map<String, String> | commandAliases() | 
|  | public org.jline.console.CmdDesc | commandDescription(List<String> args) | 
|  | public org.jline.console.CmdDesc | commandDescription(org.jline.console.CmdLine line) | 
|  | public List<String> | commandInfo(String command) | 
|  | public Set<String> | commandNames() | 
|  | public org.jline.reader.impl.completer.SystemCompleter | compileCompleters() | 
|  | public org.jline.reader.Completer | completer() | 
|  | public org.jline.console.ConsoleEngine | consoleEngine() | 
|  | public Object | consoleOption(String name) | 
| <T> | public T | consoleOption(String name, T defVal) | 
|  | public Object | execute(String line) | 
|  | public Collection<String> | getPipeNames() | 
|  | public SystemRegistryImpl | groupCommandsInHelp(boolean commandGroups) | 
|  | public boolean | hasCommand(String command) | 
|  | public void | initialize(File script) | 
|  | public Object | invoke(String command, Object args) | 
|  | public boolean | isCommandAlias(String command) | 
|  | public boolean | isCommandOrScript(org.jline.reader.ParsedLine line) | 
|  | public boolean | isCommandOrScript(String command) | 
|  | public void | register(String command, org.jline.console.CommandRegistry subcommandRegistry)Register subcommand registry | 
|  | public void | rename(SystemRegistryImpl.Pipe pipe, String name) | 
|  | public void | renameLocal(String command, String newName) | 
|  | public void | setCommandRegistries(org.jline.console.CommandRegistry commandRegistries) | 
|  | public void | setConsoleOption(String name, Object value) | 
|  | public void | setGroupCommandsInHelp(boolean commandGroups) | 
|  | public void | setScriptDescription(Function<org.jline.console.CmdLine, org.jline.console.CmdDesc> scriptDescription) | 
|  | public org.jline.terminal.Terminal | terminal() | 
|  | public void | trace(Throwable exception) | 
|  | public void | trace(boolean stack, Throwable exception) | 
Register subcommand registry
command -  main commandsubcommandRegistry -  subcommand registryCopyright © 2003-2025 The Apache Software Foundation. All rights reserved.