hudson.plugins.ec2
Class EC2ComputerLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
hudson.slaves.ComputerLauncher
hudson.plugins.ec2.EC2ComputerLauncher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>
- Direct Known Subclasses:
- EC2UnixLauncher
public abstract class EC2ComputerLauncher
- extends hudson.slaves.ComputerLauncher
ComputerLauncher for EC2 that waits for the instance to really come up before proceeding to
the real user-specified ComputerLauncher.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.ComputerLauncher |
LIST |
|
Method Summary |
protected abstract void |
launch(EC2Computer computer,
PrintStream logger,
com.amazonaws.services.ec2.model.Instance inst)
Stage 2 of the launch. |
void |
launch(hudson.slaves.SlaveComputer _computer,
hudson.model.TaskListener listener)
|
| Methods inherited from class hudson.slaves.ComputerLauncher |
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, isLaunchSupported, launch |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2ComputerLauncher
public EC2ComputerLauncher()
launch
public void launch(hudson.slaves.SlaveComputer _computer,
hudson.model.TaskListener listener)
- Overrides:
launch in class hudson.slaves.ComputerLauncher
launch
protected abstract void launch(EC2Computer computer,
PrintStream logger,
com.amazonaws.services.ec2.model.Instance inst)
throws com.amazonaws.AmazonClientException,
IOException,
InterruptedException
- Stage 2 of the launch. Called after the EC2 instance comes up.
- Throws:
com.amazonaws.AmazonClientException
IOException
InterruptedException
Copyright © 2004-2012 Hudson. All Rights Reserved.