Class CommandRegistry


  • public class CommandRegistry
    extends java.lang.Object

    Created: 2017. 10. 25.

    • Constructor Detail

      • CommandRegistry

        public CommandRegistry​(ShellService service)
    • Method Detail

      • getCommand

        public Command getCommand​(java.lang.String commandName)
      • getCommand

        public Command getCommand​(java.lang.Class<? extends Command> commandClass)
      • addCommand

        public void addCommand​(java.lang.String... classNames)
      • addCommand

        public void addCommand​(java.lang.Class<? extends Command> commandClass)
      • getAllCommands

        public java.util.Collection<Command> getAllCommands()