public class OutputStreamFlushableCommandline extends org.apache.maven.shared.utils.cli.Commandline implements FlushReceiverProvider
Commandline
implementation that provides the output stream of
the executed process in form of a FlushReceiver
, for it to be
flushed on demand.org.apache.maven.shared.utils.cli.Commandline.Argument
Constructor and Description |
---|
OutputStreamFlushableCommandline() |
Modifier and Type | Method and Description |
---|---|
Process |
execute() |
FlushReceiver |
getFlushReceiver() |
addArguments, addEnvironment, addSystemEnvironment, clearArgs, clone, createArg, createArg, getArguments, getArguments, getCommandline, getEnvironmentVariables, getExecutable, getShell, getWorkingDirectory, setExecutable, setWorkingDirectory, setWorkingDirectory, toString
public Process execute() throws org.apache.maven.shared.utils.cli.CommandLineException
execute
in class org.apache.maven.shared.utils.cli.Commandline
org.apache.maven.shared.utils.cli.CommandLineException
public FlushReceiver getFlushReceiver()
getFlushReceiver
in interface FlushReceiverProvider
FlushReceiver
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.