Package hec.io

Class ProcessOutput

java.lang.Object
hec.io.ProcessOutput
All Implemented Interfaces:
Serializable

public class ProcessOutput extends Object implements Serializable
See Also:
  • Constructor Details

    • ProcessOutput

      public ProcessOutput(String cmd)
    • ProcessOutput

      public ProcessOutput(String[] cmd)
  • Method Details

    • setExitCode

      public void setExitCode(int code)
    • getExitCode

      public int getExitCode()
    • setProcessOutput

      public void setProcessOutput(List output)
    • getProcessOutput

      public List<String> getProcessOutput()
      get the output from the Process this is both stderr and stdout.
      Returns:
      a non-null list of Strings from the Process
    • getStderr

      public List<String> getStderr()
      get the stderr output
      Returns:
      a non-null list of Strings from stderr from the Process
    • getStdout

      public List<String> getStdout()
      get the stdout output
      Returns:
      a non-null list of Strings from stdout from the Process
    • addProcessOutput

      public void addProcessOutput(ProcessOutputLine message)
    • getCommand

      public String getCommand()