Class WindowsSystemCommandExecuterImpl
- java.lang.Object
-
- com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
-
- com.github.toolarium.system.command.impl.WindowsSystemCommandExecuterImpl
-
- All Implemented Interfaces:
ISystemCommandExecuter
public class WindowsSystemCommandExecuterImpl extends AbstractSystemCommandExecuterImpl
Implements a windows based system command executer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
AbstractSystemCommandExecuterImpl.PlatformDependentCommand
-
-
Constructor Summary
Constructors Constructor Description WindowsSystemCommandExecuterImpl(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)
Constructor for WindowsSystemCommandExecuterImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
getShellCommand(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)
Get the shell command-
Methods inherited from class com.github.toolarium.system.command.impl.AbstractSystemCommandExecuterImpl
createProcessBuilder, preparePlatformDependentCommandList, runAsynchronous, runSynchronous, runSynchronous, validateProcessEnvironment, validateSystemCommand
-
-
-
-
Constructor Detail
-
WindowsSystemCommandExecuterImpl
public WindowsSystemCommandExecuterImpl(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)
Constructor for WindowsSystemCommandExecuterImpl- Parameters:
processEnvironment
- the process environmentsystemCommand
- the system command
-
-
Method Detail
-
getShellCommand
protected java.util.List<java.lang.String> getShellCommand(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)
Description copied from class:AbstractSystemCommandExecuterImpl
Get the shell command- Specified by:
getShellCommand
in classAbstractSystemCommandExecuterImpl
- Parameters:
processEnvironment
- the process environmentsystemCommand
- the system command- Returns:
- the shell command
- See Also:
AbstractSystemCommandExecuterImpl.getShellCommand(com.github.toolarium.system.command.IProcessEnvironment, com.github.toolarium.system.command.ISystemCommand)
-
-