Class ExecResult


  • public final class ExecResult
    extends Object
    • Constructor Detail

      • ExecResult

        public ExecResult()
      • ExecResult

        public ExecResult​(Charset charset)
    • Method Detail

      • getExitCode

        public int getExitCode()
      • setExitCode

        public void setExitCode​(int exitCode)
      • setStdout

        public void setStdout​(String stdout)
      • setStderr

        public void setStderr​(String stderr)
      • getStdout

        @NotNull
        public String getStdout()
      • getOutLines

        @NotNull
        public String[] getOutLines()
      • setOutputGobbler

        public void setOutputGobbler​(StreamGobbler outputGobbler)
      • setErrorGobbler

        public void setErrorGobbler​(StreamGobbler errorGobbler)
      • getStderr

        @NotNull
        public String getStderr()
      • getException

        public Throwable getException()
      • setException

        public void setException​(Throwable exception)
      • setElapsedTime

        public void setElapsedTime​(long milliseconds)
      • getElapsedTime

        public long getElapsedTime()