Interface ConsoleCommandExtension

    • Method Detail

      • getCommand

        String getCommand()
        Get the command of for the extension.
        Returns:
        command for the extension
      • getDescription

        String getDescription()
        Get the description for the extension.
        Returns:
        description for the extension
      • execute

        void execute​(String[] args,
                     Console console)
        This method called if a command for that extension is called. Clients are not allowed to throw exceptions. They have to write corresponding messages to the given Console
        Parameters:
        args - array which contains all the console command arguments
        console - the console used to print
      • getUsages

        List<String> getUsages()
        Returns:
        the help texts for this extension