Interface StreamingProcessOwner
- All Known Implementing Classes:
PrefixedStreamingProcessOwner, SimpleStreamingProcessOwner
public interface StreamingProcessOwner
Interface for classes that make use of
StreamingProcessOutput.-
Method Summary
Modifier and TypeMethodDescriptionReturns what output from the process to forward.voidprocessOutput(String line, boolean stdout) Processes the incoming line.
-
Method Details
-
getOutputType
StreamingProcessOutputType getOutputType()Returns what output from the process to forward.- Returns:
- the output type
-
processOutput
Processes the incoming line.- Parameters:
line- the line to processstdout- whether stdout or stderr
-