Class SystemCommandExecuterFactory
- java.lang.Object
-
- com.github.toolarium.system.command.SystemCommandExecuterFactory
-
public final class SystemCommandExecuterFactory extends java.lang.ObjectThe system command excuter factory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ISystemCommandExecutercreateSystemCommandExecuter(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)Create a system command executerstatic SystemCommandExecuterFactorygetInstance()Get the instance
-
-
-
Method Detail
-
getInstance
public static SystemCommandExecuterFactory getInstance()
Get the instance- Returns:
- the instance
-
createSystemCommandExecuter
public ISystemCommandExecuter createSystemCommandExecuter(IProcessEnvironment processEnvironment, ISystemCommand systemCommand)
Create a system command executer- Parameters:
processEnvironment- the process environmentsystemCommand- the system command- Returns:
- the system command executer
-
-