Class ProcessMachinePowerShell
java.lang.Object
org.xbricks.common.generic.commands.worker.ProcessMachinePowerShell
- All Implemented Interfaces:
ProcessMachine
PowerShell-Implementation of
ProcessMachine. Runs the given commands
on with the "Power Shell"-api. Therefore it must be installed on the current
machine.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcessMachinePowerShell
-
-
Method Details
-
start
Description copied from interface:ProcessMachineStarts the Process with the given commands.- Specified by:
startin interfaceProcessMachine
-
start
Description copied from interface:ProcessMachineStarts the Process with the given command.- Specified by:
startin interfaceProcessMachine
-
stop
public void stop()Description copied from interface:ProcessMachineStops/destroys the process.- Specified by:
stopin interfaceProcessMachine
-
isAlive
public boolean isAlive()Description copied from interface:ProcessMachineLooks, if the process is still running.- Specified by:
isAlivein interfaceProcessMachine
-
getOutputStream
Description copied from interface:ProcessMachineReturns a stream to manupulate the current process.- Specified by:
getOutputStreamin interfaceProcessMachine
-
getInputStream
- Specified by:
getInputStreamin interfaceProcessMachine
-
getErrorStream
- Specified by:
getErrorStreamin interfaceProcessMachine
-