Class DynamicInterpreterExtension

    • Constructor Detail

      • DynamicInterpreterExtension

        public DynamicInterpreterExtension()
    • Method Detail

      • setInterpreter

        public void setInterpreter​(BaseInterpreter interpreter)
        Set the BaseInterpreter to use when executing commands and retrieving the command result.
        Parameters:
        interpreter - For example, repoAdminInterpreter
      • executeCmd

        public void executeCmd​(String command)
        Script execute command gateway.
        Parameters:
        command - string to execute
      • getDuration

        public long getDuration()
        Returns:
        the command duration
      • getResult

        public String getResult()
        Returns:
        the command result
      • getCommand

        public String getCommand()
        Returns:
        the command last executed