Class WinRMClient

java.lang.Object
hudson.plugins.ec2.win.winrm.WinRMClient

public class WinRMClient extends Object
  • Constructor Details

    • WinRMClient

      @Deprecated public WinRMClient(URL url, String username, String password)
      Deprecated.
    • WinRMClient

      public WinRMClient(URL url, String username, String password, boolean allowSelfSignedCertificate)
  • Method Details

    • openShell

      public void openShell()
    • executeCommand

      public void executeCommand(String command)
    • 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

      public String getTimeout()
    • setTimeout

      public void setTimeout(String timeout)
    • setUseHTTPS

      public void setUseHTTPS(boolean useHTTPS)