Package hudson.plugins.ec2.win.winrm
Class WinRMClient
java.lang.Object
hudson.plugins.ec2.win.winrm.WinRMClient
-
Constructor Summary
ConstructorsConstructorDescriptionWinRMClient
(URL url, String username, String password) Deprecated.WinRMClient
(URL url, String username, String password, boolean allowSelfSignedCertificate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
executeCommand
(String command) int
exitCode()
void
void
sendInput
(byte[] input) void
setTimeout
(String timeout) void
setUseHTTPS
(boolean useHTTPS) void
signal()
boolean
slurpOutput
(hudson.remoting.FastPipedOutputStream stdout, hudson.remoting.FastPipedOutputStream stderr)
-
Constructor Details
-
WinRMClient
Deprecated. -
WinRMClient
-
-
Method Details
-
openShell
public void openShell() -
executeCommand
-
deleteShell
public void deleteShell() -
signal
public void signal() -
sendInput
public void sendInput(byte[] input) -
slurpOutput
public boolean slurpOutput(hudson.remoting.FastPipedOutputStream stdout, hudson.remoting.FastPipedOutputStream stderr) throws IOException - Throws:
IOException
-
exitCode
public int exitCode() -
getTimeout
-
setTimeout
-
setUseHTTPS
public void setUseHTTPS(boolean useHTTPS)
-