Interface ClientCommandRunner.OutputObserver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean onReadLine​(String line)
      This method will be called every time the ClientCommandRunner reads a line from the stdout/stderr from the remote `oc` process.
    • Method Detail

      • onReadLine

        boolean onReadLine​(String line)
                    throws IOException,
                           InterruptedException
        This method will be called every time the ClientCommandRunner reads a line from the stdout/stderr from the remote `oc` process.
        Parameters:
        line - a line of output
        Returns:
        true to indicate the ClientCommandRunner to interrupt the `oc` process immediately.
        Throws:
        IOException - when I/O error
        InterruptedException - when the reading threads are interrupted