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

public class Commandline extends org.apache.maven.surefire.shared.utils.cli.Commandline
A Commandline implementation.
Author:
Andreas Gudian
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.maven.surefire.shared.utils.cli.Commandline

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

    Constructors
    Constructor
    Description
    for testing purposes only
    Commandline(String[] excludedEnvironmentVariables)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    final void
     

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

    addArguments, clearArgs, clone, createArg, createArg, execute, 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

    • Commandline

      public Commandline()
      for testing purposes only
    • Commandline

      public Commandline(String[] excludedEnvironmentVariables)
  • Method Details

    • addEnvironment

      public void addEnvironment(String name, String value)
      Overrides:
      addEnvironment in class org.apache.maven.surefire.shared.utils.cli.Commandline
    • addSystemEnvironment

      public final void addSystemEnvironment()
      Overrides:
      addSystemEnvironment in class org.apache.maven.surefire.shared.utils.cli.Commandline