Interface StreamingProcessOwner
-
- All Known Implementing Classes:
PrefixedStreamingProcessOwner,SimpleStreamingProcessOwner
public interface StreamingProcessOwnerInterface for classes that make use ofStreamingProcessOutput.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamingProcessOutputTypegetOutputType()Returns what output from the process to forward.voidprocessOutput(java.lang.String line, boolean stdout)Processes the incoming line.
-
-
-
Method Detail
-
getOutputType
StreamingProcessOutputType getOutputType()
Returns what output from the process to forward.- Returns:
- the output type
-
processOutput
void processOutput(java.lang.String line, boolean stdout)Processes the incoming line.- Parameters:
line- the line to processstdout- whether stdout or stderr
-
-