Package hec.io
Class ProcessOutput
java.lang.Object
hec.io.ProcessOutput
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProcessOutput(ProcessOutputLine message) intget the output from the Process this is both stderr and stdout.get the stderr outputget the stdout outputvoidsetExitCode(int code) voidsetProcessOutput(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
-