org.apache.maven.plugin.surefire.booterclient.lazytestprovider
Class OutputStreamFlushableCommandline

java.lang.Object
  extended by org.apache.maven.shared.utils.cli.Commandline
      extended by org.apache.maven.plugin.surefire.booterclient.lazytestprovider.OutputStreamFlushableCommandline
All Implemented Interfaces:
Cloneable, FlushReceiverProvider

public class OutputStreamFlushableCommandline
extends Commandline
implements FlushReceiverProvider

A Commandline implementation that provides the output stream of the executed process in form of a FlushReceiver, for it to be flushed on demand.

Author:
Andreas Gudian

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.maven.shared.utils.cli.Commandline
Commandline.Argument
 
Constructor Summary
OutputStreamFlushableCommandline()
           
 
Method Summary
 Process execute()
           
 FlushReceiver getFlushReceiver()
           
 
Methods inherited from class org.apache.maven.shared.utils.cli.Commandline
addArguments, addEnvironment, addSystemEnvironment, clearArgs, clone, createArg, createArg, getArguments, getCommandline, getEnvironmentVariables, getExecutable, getShell, getWorkingDirectory, setExecutable, setWorkingDirectory, setWorkingDirectory, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputStreamFlushableCommandline

public OutputStreamFlushableCommandline()
Method Detail

execute

public Process execute()
                throws CommandLineException
Overrides:
execute in class Commandline
Throws:
CommandLineException

getFlushReceiver

public FlushReceiver getFlushReceiver()
Specified by:
getFlushReceiver in interface FlushReceiverProvider
Returns:
a FlushReceiver


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.