hudson.os.windows
Class ManagedWindowsServiceConnector

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

public class ManagedWindowsServiceConnector
extends hudson.slaves.ComputerConnector

ComputerConnector that delegates to ManagedWindowsServiceLauncher.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ManagedWindowsServiceConnector.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 hudson.util.Secret password
           
 String userName
          "[DOMAIN\\]USERNAME" to follow the Windows convention.
 
Constructor Summary
ManagedWindowsServiceConnector(String userName, String password)
           
 
Method Summary
 ManagedWindowsServiceLauncher launch(String host, hudson.model.TaskListener listener)
           
 
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 hudson.util.Secret password
Constructor Detail

ManagedWindowsServiceConnector

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

launch

public ManagedWindowsServiceLauncher launch(String host,
                                            hudson.model.TaskListener listener)
                                     throws IOException,
                                            InterruptedException
Specified by:
launch in class hudson.slaves.ComputerConnector
Throws:
IOException
InterruptedException


Copyright © 2004-2011 Hudson. All Rights Reserved.