public class WinConnection extends Object
Constructor and Description |
---|
WinConnection(String host,
String username,
String password)
Deprecated.
|
WinConnection(String host,
String username,
String password,
boolean allowSelfSignedCertificate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
WindowsProcess |
execute(String commandLine) |
WindowsProcess |
execute(String commandLine,
int timeout) |
boolean |
exists(String path) |
InputStream |
getFile(String path) |
boolean |
ping() |
boolean |
pingFailingIfSSHHandShakeError() |
OutputStream |
putFile(String path) |
void |
setUseHTTPS(boolean useHTTPS) |
WinRM |
winrm() |
WinRM |
winrm(int timeout) |
@Deprecated public WinConnection(String host, String username, String password)
public WinRM winrm()
public WinRM winrm(int timeout)
public WindowsProcess execute(String commandLine)
public WindowsProcess execute(String commandLine, int timeout)
public OutputStream putFile(String path) throws IOException
IOException
public InputStream getFile(String path) throws IOException
IOException
public boolean exists(String path) throws IOException
IOException
public boolean ping()
public boolean pingFailingIfSSHHandShakeError() throws IOException
IOException
public void close()
public void setUseHTTPS(boolean useHTTPS)
Copyright © 2016–2022. All rights reserved.