- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for addCommandRegistry (0.07 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java
private final List<CommandRegistry> commandRegistries; public ShellCommandRegistryHolder() { this.commandRegistries = new ArrayList<>(); } public void addCommandRegistry(CommandRegistry commandRegistry) { requireNonNull(commandRegistry, "commandRegistry"); this.commandRegistries.add(commandRegistry); } public CommandRegistry[] getCommandRegistries() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 2.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
holder.addCommandRegistry(builtins); // gather commands Map<String, ShellCommandRegistryFactory> factories = context.lookup.lookupMap(ShellCommandRegistryFactory.class); for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) { holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context)); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0)