Uses of Interface
org.apache.maven.shared.utils.cli.StreamConsumer
-
Packages that use StreamConsumer Package Description org.apache.maven.shared.utils.cli org.apache.maven.shared.utils.cli.javatool -
-
Uses of StreamConsumer in org.apache.maven.shared.utils.cli
Classes in org.apache.maven.shared.utils.cli that implement StreamConsumer Modifier and Type Class Description static class
CommandLineUtils.StringStreamConsumer
AStreamConsumer
providing consumed lines as aString
.class
DefaultConsumer
class
WriterStreamConsumer
Fields in org.apache.maven.shared.utils.cli declared as StreamConsumer Modifier and Type Field Description private StreamConsumer
StreamPumper. consumer
Methods in org.apache.maven.shared.utils.cli with parameters of type StreamConsumer Modifier and Type Method Description static int
CommandLineUtils. executeCommandLine(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr)
static int
CommandLineUtils. executeCommandLine(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds)
static int
CommandLineUtils. executeCommandLine(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds, java.lang.Runnable runAfterProcessTermination)
static int
CommandLineUtils. executeCommandLine(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds, java.lang.Runnable runAfterProcessTermination, java.nio.charset.Charset streamCharset)
static int
CommandLineUtils. executeCommandLine(Commandline cl, StreamConsumer systemOut, StreamConsumer systemErr)
static int
CommandLineUtils. executeCommandLine(Commandline cl, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds)
static CommandLineCallable
CommandLineUtils. executeCommandLineAsCallable(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds, java.lang.Runnable runAfterProcessTermination)
Immediately forks a process, returns a callable that will block until process is complete.static CommandLineCallable
CommandLineUtils. executeCommandLineAsCallable(Commandline cl, java.io.InputStream systemIn, StreamConsumer systemOut, StreamConsumer systemErr, int timeoutInSeconds, java.lang.Runnable runAfterProcessTermination, java.nio.charset.Charset streamCharset)
Immediately forks a process, returns a callable that will block until process is complete.Constructors in org.apache.maven.shared.utils.cli with parameters of type StreamConsumer Constructor Description StreamPumper(java.io.InputStream in, StreamConsumer consumer)
StreamPumper(java.io.InputStream in, StreamConsumer consumer, java.nio.charset.Charset charset)
StreamPumper(java.io.Reader in, StreamConsumer consumer)
-
Uses of StreamConsumer in org.apache.maven.shared.utils.cli.javatool
Fields in org.apache.maven.shared.utils.cli.javatool declared as StreamConsumer Modifier and Type Field Description private StreamConsumer
AbstractJavaToolRequest. systemErrorStreamConsumer
Optional system error stream consumer used by the commandline execution.private StreamConsumer
AbstractJavaToolRequest. systemOutStreamConsumer
Optional system out stream consumer used by the commandline execution.Methods in org.apache.maven.shared.utils.cli.javatool that return StreamConsumer Modifier and Type Method Description protected StreamConsumer
AbstractJavaTool. createSystemErrorStreamConsumer(Request request)
protected StreamConsumer
AbstractJavaTool. createSystemOutStreamConsumer(Request request)
StreamConsumer
AbstractJavaToolRequest. getSystemErrorStreamConsumer()
Gets the value of thesystemErrorStreamConsumer
field.StreamConsumer
JavaToolRequest. getSystemErrorStreamConsumer()
Gets the value of thesystemErrorStreamConsumer
field.StreamConsumer
AbstractJavaToolRequest. getSystemOutStreamConsumer()
Gets the value of thesystemOutStreamConsumer
field.StreamConsumer
JavaToolRequest. getSystemOutStreamConsumer()
Gets the value of thesystemOutStreamConsumer
field.Methods in org.apache.maven.shared.utils.cli.javatool with parameters of type StreamConsumer Modifier and Type Method Description void
AbstractJavaToolRequest. setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
Sets the new given value to the fieldsystemErrorStreamConsumer
of the request.void
JavaToolRequest. setSystemErrorStreamConsumer(StreamConsumer systemErrorStreamConsumer)
Sets the new given value to the fieldsystemErrorStreamConsumer
of the request.void
AbstractJavaToolRequest. setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
Sets the new given value to the fieldsystemOutStreamConsumer
of the request.void
JavaToolRequest. setSystemOutStreamConsumer(StreamConsumer systemOutStreamConsumer)
Sets the new given value to the fieldsystemOutStreamConsumer
of the request.
-