Class DefaultCommandLineFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.codehaus.plexus.util.cli.Commandline createCommandLine​(java.lang.String executable)
      Create a command line object with default environment for the given executable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultCommandLineFactory

        public DefaultCommandLineFactory()
    • Method Detail

      • createCommandLine

        public org.codehaus.plexus.util.cli.Commandline createCommandLine​(java.lang.String executable)
                                                                   throws MavenExecutorException
        Description copied from interface: CommandLineFactory
        Create a command line object with default environment for the given executable.
        Specified by:
        createCommandLine in interface CommandLineFactory
        Parameters:
        executable - the executable
        Returns:
        the command line
        Throws:
        MavenExecutorException - if there was a problem creating the command line