Interface CommandResult

    • Method Detail

      • getOutput

        String getOutput()
        Returns:
        command output
      • getFailureCause

        Throwable getFailureCause()
        This method returns any exception raised during command invocation, If the command's exit status is CommandResult.ExitStatus.SUCCESS, then this method will return null.
        Returns:
        any exception that occurred during this command execution.