Uses of Interface
io.smallrye.common.process.PipelineBuilder.Error
-
Uses of PipelineBuilder.Error in io.smallrye.common.process
Methods in io.smallrye.common.process that return PipelineBuilder.ErrorModifier and TypeMethodDescriptionInstruct the builder to transfer the error output of the process to the given path.PipelineBuilder.Error.captureHeadLines(int headLines) Set the number of "head" or leading lines of error to capture for exception messages.PipelineBuilder.Error.captureTailLines(int tailLines) Set the number of "tail" or trailing lines of error to capture for exception messages.Set the character set to use for error output.PipelineBuilder.Error.consumeBytesWith(io.smallrye.common.function.ExceptionConsumer<InputStream, IOException> consumer) Instruct the builder to consume the bytes of the error output with the given consumer.default PipelineBuilder.Error<O> PipelineBuilder.Error.consumeLinesWith(int maxLineLength, io.smallrye.common.function.ExceptionConsumer<String, IOException> consumer) Instruct the builder to consume each line of the error output with the given consumer.PipelineBuilder.Error.consumeWith(io.smallrye.common.function.ExceptionConsumer<BufferedReader, IOException> consumer) Instruct the builder to consume the error output with the given consumer.default PipelineBuilder.Error<O> PipelineBuilder.Error.copyAndAppendTo(Path path) Instruct the builder to transfer a copy of the error output of the process to the given path.PipelineBuilder.Error.copyAndConsumeBytesWith(io.smallrye.common.function.ExceptionConsumer<InputStream, IOException> consumer) Instruct the builder to consume a copy of the bytes of the error output with the given consumer.default PipelineBuilder.Error<O> PipelineBuilder.Error.copyAndConsumeLinesWith(int maxLineLength, io.smallrye.common.function.ExceptionConsumer<String, IOException> consumer) Instruct the builder to consume each line of a copy of the error output with the given consumer.PipelineBuilder.Error.copyAndConsumeWith(io.smallrye.common.function.ExceptionConsumer<BufferedReader, IOException> consumer) Instruct the builder to consume a copy of the error output with the given consumer.default PipelineBuilder.Error<O> PipelineBuilder.Error.copyAndTransferTo(OutputStream stream) Instruct the builder to transfer a copy of the error output of the process to the given stream.default PipelineBuilder.Error<O> PipelineBuilder.Error.copyAndTransferTo(Writer writer) Instruct the builder to transfer a copy of the error output of the process to the given writer.default PipelineBuilder.Error<O> PipelineBuilder.Error.copyAndTransferTo(Path path) Instruct the builder to transfer a copy of the error output of the process to the given path.PipelineBuilder.Error.discard()Instruct the builder to discard the error output.PipelineBuilder.error()Configure the error output handling of the process.PipelineBuilder.Error.gatherOnFail(boolean gather) Whenincludeistrueand process execution fails, some or all error lines will be gathered to be included in the thrown exception.PipelineBuilder.Error.inherited()Instruct the builder to copy the error output of the process being built to the error output of the current process.PipelineBuilder.Error.logOnSuccess(boolean log) Whenlogistrueand process execution completes successfully, any non-empty error lines will be logged at levelWARN.PipelineBuilder.Error.maxCaptureLineLength(int characters) Limit the maximum length of each captured line to the given number of characters.default PipelineBuilder.Error<O> PipelineBuilder.Error.nativeCharset()Instruct the builder to use the native character set for error outputPipelineBuilder.Error.redirect()Redirect error output to the output stream, overriding all other output considerations.default PipelineBuilder.Error<O> PipelineBuilder.Error.transferTo(OutputStream stream) Instruct the builder to transfer the error output of the process to the given stream.default PipelineBuilder.Error<O> PipelineBuilder.Error.transferTo(Writer writer) Instruct the builder to transfer the error output of the process to the given writer.PipelineBuilder.Error.transferTo(Path path) Instruct the builder to transfer the error output of the process to the given path.