public class LoggingOutputProcessor extends Object implements OutputProcessor<Void,Void>
Modifier and Type | Field and Description |
---|---|
static OutputProcessor<Void,Void> |
INSTANCE
Deprecated.
As of Judson (7.1.x), replaced by
CollectorOutputProcessor.INSTANCE |
Constructor and Description |
---|
LoggingOutputProcessor()
Deprecated.
As of Judson (7.1.x), replaced by
CollectorOutputProcessor.INSTANCE |
LoggingOutputProcessor(BiConsumer<Boolean,String> logLineConsumer) |
LoggingOutputProcessor(Charset charset,
BiConsumer<Boolean,String> logLineConsumer) |
Modifier and Type | Method and Description |
---|---|
Void |
processStdErr(InputStream stdErrInputStream) |
Void |
processStdOut(InputStream stdOutInputStream) |
@Deprecated public static final OutputProcessor<Void,Void> INSTANCE
CollectorOutputProcessor.INSTANCE
@Deprecated public LoggingOutputProcessor()
CollectorOutputProcessor.INSTANCE
public LoggingOutputProcessor(BiConsumer<Boolean,String> logLineConsumer)
public LoggingOutputProcessor(Charset charset, BiConsumer<Boolean,String> logLineConsumer)
public Void processStdErr(InputStream stdErrInputStream) throws ProcessException
processStdErr
in interface OutputProcessor<Void,Void>
ProcessException
public Void processStdOut(InputStream stdOutInputStream) throws ProcessException
processStdOut
in interface OutputProcessor<Void,Void>
ProcessException