Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addCommandRegistry (0.67 sec)

  1. 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() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. 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));
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top