hudson.os.windows
Class ManagedWindowsServiceConnector

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<ComputerConnector>
      extended by hudson.slaves.ComputerConnector
          extended by hudson.os.windows.ManagedWindowsServiceConnector
All Implemented Interfaces:
ExtensionPoint, Describable<ComputerConnector>

public class ManagedWindowsServiceConnector
extends ComputerConnector

ComputerConnector that delegates to ManagedWindowsServiceLauncher.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ManagedWindowsServiceConnector.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 Secret password
           
 String userName
          "[DOMAIN\\]USERNAME" to follow the Windows convention.
 
Constructor Summary
ManagedWindowsServiceConnector(String userName, String password)
           
 
Method Summary
 ManagedWindowsServiceLauncher launch(String hostName, TaskListener listener)
          Creates a ComputerLauncher for connecting to the given host.
 
Methods inherited from class hudson.slaves.ComputerConnector
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

public final String userName
"[DOMAIN\\]USERNAME" to follow the Windows convention.


password

public final Secret password
Constructor Detail

ManagedWindowsServiceConnector

@DataBoundConstructor
public ManagedWindowsServiceConnector(String userName,
                                                           String password)
Method Detail

launch

public ManagedWindowsServiceLauncher launch(String hostName,
                                            TaskListener listener)
                                     throws IOException,
                                            InterruptedException
Description copied from class: ComputerConnector
Creates a ComputerLauncher for connecting to the given host.

Specified by:
launch in class ComputerConnector
Parameters:
hostName - The host name / IP address of the machine to connect to.
listener - If
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.