Package com.aspectran.shell.command
Class ShellCommandRegistry
java.lang.Object
com.aspectran.shell.command.ShellCommandRegistry
- All Implemented Interfaces:
CommandRegistry
A registry that contains the commands known by a shell.
Created: 2017. 10. 25.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommand
(Class<? extends Command> commandClass) void
addCommand
(String... classNames) getCommand
(Class<? extends Command> commandClass) getCommand
(String commandName)
-
Constructor Details
-
ShellCommandRegistry
-
-
Method Details
-
getConsoleCommander
- Specified by:
getConsoleCommander
in interfaceCommandRegistry
-
getCommand
- Specified by:
getCommand
in interfaceCommandRegistry
-
getCommand
- Specified by:
getCommand
in interfaceCommandRegistry
-
getAllCommands
- Specified by:
getAllCommands
in interfaceCommandRegistry
-
addCommand
-
addCommand
-