Class WinRMClient


  • public class WinRMClient
    extends Object
    • Constructor Detail

      • WinRMClient

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

      • 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)