Package hec.io
Class ProcessOutput
java.lang.Object
hec.io.ProcessOutput
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProcessOutput
(ProcessOutputLine message) int
get the output from the Process this is both stderr and stdout.get the stderr outputget the stdout outputvoid
setExitCode
(int code) void
setProcessOutput
(List output)
-
Constructor Details
-
ProcessOutput
-
ProcessOutput
-
-
Method Details
-
setExitCode
public void setExitCode(int code) -
getExitCode
public int getExitCode() -
setProcessOutput
-
getProcessOutput
get the output from the Process this is both stderr and stdout.- Returns:
- a non-null list of Strings from the Process
-
getStderr
get the stderr output- Returns:
- a non-null list of Strings from stderr from the Process
-
getStdout
get the stdout output- Returns:
- a non-null list of Strings from stdout from the Process
-
addProcessOutput
-
getCommand
-