Class ScriptEngineConsoleCommandExtension

    • Constructor Detail

      • ScriptEngineConsoleCommandExtension

        public ScriptEngineConsoleCommandExtension()
    • Method Detail

      • execute

        public void execute​(String[] args,
                            Console console)
        Description copied from interface: ConsoleCommandExtension
        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

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

        public void setScriptEngine​(ScriptEngine scriptEngine)
      • unsetScriptEngine

        public void unsetScriptEngine​(ScriptEngine scriptEngine)