Class OutputStreamFlushableCommandline

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

public class OutputStreamFlushableCommandline extends org.apache.maven.shared.utils.cli.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

    org.apache.maven.shared.utils.cli.Commandline.Argument
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.apache.maven.shared.utils.cli.Commandline

    addArguments, addEnvironment, addSystemEnvironment, clearArgs, clone, createArg, createArg, getArguments, 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 Details

    • OutputStreamFlushableCommandline

      public OutputStreamFlushableCommandline()
  • Method Details

    • execute

      public Process execute() throws org.apache.maven.shared.utils.cli.CommandLineException
      Overrides:
      execute in class org.apache.maven.shared.utils.cli.Commandline
      Throws:
      org.apache.maven.shared.utils.cli.CommandLineException
    • getFlushReceiver

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