@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class LauncherFactory extends hudson.model.AbstractDescribableImpl<LauncherFactory> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LauncherFactory.JNLP
Wait for JNLP connection to be made.
|
static class |
LauncherFactory.SSH
Launch nodes via ssh-slaves plugin.
|
static class |
LauncherFactory.Unspecified
No slave type specified.
|
Constructor and Description |
---|
LauncherFactory() |
Modifier and Type | Method and Description |
---|---|
abstract hudson.slaves.ComputerLauncher |
createLauncher(JCloudsSlave slave)
Create launcher to be used to start the computer.
|
abstract String |
isWaitingFor(JCloudsSlave slave)
Detect the machine is provisioned and can be added to Jenkins for launching.
|
public abstract hudson.slaves.ComputerLauncher createLauncher(@Nonnull JCloudsSlave slave) throws IOException
IOException
@CheckForNull public abstract String isWaitingFor(@Nonnull JCloudsSlave slave) throws JCloudsCloud.ProvisioningFailedException
slave
- Slave we are waiting to be ready.JCloudsCloud.ProvisioningFailedException
- If the provisioning needs to
be aborted right away without waiting for the timeout.Copyright © 2016–2018. All rights reserved.