public class WinRMClient extends Object
Constructor and Description |
---|
WinRMClient(URL url,
String username,
String password)
Deprecated.
|
WinRMClient(URL url,
String username,
String password,
boolean allowSelfSignedCertificate) |
Modifier and Type | Method and Description |
---|---|
void |
deleteShell() |
void |
executeCommand(String command) |
int |
exitCode() |
String |
getTimeout() |
void |
openShell() |
void |
sendInput(byte[] input) |
void |
setTimeout(String timeout) |
void |
setUseHTTPS(boolean useHTTPS) |
void |
signal() |
boolean |
slurpOutput(hudson.remoting.FastPipedOutputStream stdout,
hudson.remoting.FastPipedOutputStream stderr) |
@Deprecated public WinRMClient(URL url, String username, String password)
public void openShell()
public void executeCommand(String command)
public void deleteShell()
public void signal()
public void sendInput(byte[] input)
public boolean slurpOutput(hudson.remoting.FastPipedOutputStream stdout, hudson.remoting.FastPipedOutputStream stderr) throws IOException
IOException
public int exitCode()
public String getTimeout()
public void setTimeout(String timeout)
public void setUseHTTPS(boolean useHTTPS)
Copyright © 2016–2022. All rights reserved.