Package com.aspectran.shell.command
Interface CommandRegistry
-
- All Known Implementing Classes:
ShellCommandRegistry
public interface CommandRegistry
A registry that contains the commands known by a shell.Created: 2017. 10. 25.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Command>
getAllCommands()
Command
getCommand(java.lang.Class<? extends Command> commandClass)
Command
getCommand(java.lang.String commandName)
CommandInterpreter
getInterpreter()
-
-
-
Method Detail
-
getInterpreter
CommandInterpreter getInterpreter()
-
getCommand
Command getCommand(java.lang.String commandName)
-
getAllCommands
java.util.Collection<Command> getAllCommands()
-
-