Class DefaultCommandLineServiceImpl
- java.lang.Object
-
- com.anrisoftware.globalpom.exec.internal.command.DefaultCommandLineServiceImpl
-
- All Implemented Interfaces:
CommandLineFactory,CommandLineService
public class DefaultCommandLineServiceImpl extends Object implements CommandLineService
Command line service.- Since:
- 3.1
- Author:
- Erwin Mueller, erwin.mueller@deventm.org
-
-
Constructor Summary
Constructors Constructor Description DefaultCommandLineServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLinecreate(File executable)Create a command line from an executable.CommandLinecreate(String executable)Create a command line from an executable.protected voidstart()
-
-
-
Method Detail
-
create
public CommandLine create(String executable)
Description copied from interface:CommandLineFactoryCreate a command line from an executable.- Specified by:
createin interfaceCommandLineFactory- Parameters:
executable- theStringexecutable.- Returns:
- the
DefaultCommandLine.
-
create
public CommandLine create(File executable)
Description copied from interface:CommandLineFactoryCreate a command line from an executable.- Specified by:
createin interfaceCommandLineFactory- Parameters:
executable- theFileexecutable.- Returns:
- the
DefaultCommandLine.
-
start
protected void start()
-
-