public class WinRM extends Object
Constructor and Description |
---|
WinRM(String host,
String username,
String password)
Deprecated.
|
WinRM(String host,
String username,
String password,
boolean allowSelfSignedCertificate) |
Modifier and Type | Method and Description |
---|---|
URL |
buildURL() |
WindowsProcess |
execute(String commandLine) |
int |
getTimeout() |
boolean |
isUseHTTPS() |
void |
ping() |
void |
setTimeout(int timeout) |
void |
setUseHTTPS(boolean useHTTPS) |
@Deprecated public WinRM(String host, String username, String password)
public void ping() throws IOException
IOException
public WindowsProcess execute(String commandLine)
public URL buildURL()
public boolean isUseHTTPS()
public void setUseHTTPS(boolean useHTTPS)
useHTTPS
- the useHTTPS to setpublic int getTimeout()
public void setTimeout(int timeout)
timeout
- the timeout to setCopyright © 2016–2022. All rights reserved.