Class FS.ExecutionResult

java.lang.Object
org.eclipse.jgit.util.FS.ExecutionResult
Enclosing class:
FS

public static class FS.ExecutionResult extends Object
Result of an executed process. The caller is responsible to close the contained TemporaryBuffers
Since:
4.2
  • Constructor Details

    • ExecutionResult

      public ExecutionResult(TemporaryBuffer stdout, TemporaryBuffer stderr, int rc)
      Parameters:
      stdout - stdout stream
      stderr - stderr stream
      rc - return code
  • Method Details

    • getStdout

      public TemporaryBuffer getStdout()
      Get buffered standard output stream
      Returns:
      buffered standard output stream
    • getStderr

      public TemporaryBuffer getStderr()
      Get buffered standard error stream
      Returns:
      buffered standard error stream
    • getRc

      public int getRc()
      Get the return code of the process
      Returns:
      the return code of the process