hudson.os.windows
Class ManagedWindowsServiceConnector
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerConnector>
hudson.slaves.ComputerConnector
hudson.os.windows.ManagedWindowsServiceConnector
- All Implemented Interfaces:
- ExtensionPoint, Describable<ComputerConnector>
public class ManagedWindowsServiceConnector
- extends ComputerConnector
ComputerConnector
that delegates to ManagedWindowsServiceLauncher
.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userName
public final String userName
- "[DOMAIN\\]USERNAME" to follow the Windows convention.
password
public final Secret password
ManagedWindowsServiceConnector
@DataBoundConstructor
public ManagedWindowsServiceConnector(String userName,
String password)
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.