Package hudson.plugins.ec2.win.winrm
Class WinRM
- java.lang.Object
-
- hudson.plugins.ec2.win.winrm.WinRM
-
public class WinRM extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
buildURL()
WindowsProcess
execute(String commandLine)
int
getTimeout()
boolean
isUseHTTPS()
void
ping()
void
setTimeout(int timeout)
void
setUseHTTPS(boolean useHTTPS)
-
-
-
Method Detail
-
ping
public void ping() throws IOException
- Throws:
IOException
-
execute
public WindowsProcess execute(String commandLine)
-
buildURL
public URL buildURL()
-
isUseHTTPS
public boolean isUseHTTPS()
- Returns:
- the useHTTPS
-
setUseHTTPS
public void setUseHTTPS(boolean useHTTPS)
- Parameters:
useHTTPS
- the useHTTPS to set
-
getTimeout
public int getTimeout()
- Returns:
- the timeout
-
setTimeout
public void setTimeout(int timeout)
- Parameters:
timeout
- the timeout to set
-
-