public class ForemanSSHComputerLauncherFactory extends ForemanComputerLauncherFactory
| Constructor and Description |
|---|
ForemanSSHComputerLauncherFactory(String host,
int p,
String credId,
Integer timeOut)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(String host,
int p,
String credId,
Integer timeOut)
Configure launcher once created.
|
hudson.slaves.ComputerLauncher |
getForemanComputerLauncher()
Responsible for producing a Computer Launcher.
|
public void configure(String host, int p, String credId, Integer timeOut)
host - name or ip of host to launch.p - port to launch on.credId - Credentials to use.timeOut - timeout for SSH connection in secs.public hudson.slaves.ComputerLauncher getForemanComputerLauncher()
throws Exception
ForemanComputerLauncherFactorygetForemanComputerLauncher in class ForemanComputerLauncherFactoryException - if occurs.Copyright © 2016. All rights reserved.