hudson.plugins.ec2
Class EC2ComputerLauncher
java.lang.Object
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,
java.io.PrintStream logger,
com.xerox.amazonws.ec2.ReservationDescription.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, getDescriptor, isLaunchSupported, launch |
| 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,
java.io.PrintStream logger,
com.xerox.amazonws.ec2.ReservationDescription.Instance inst)
throws com.xerox.amazonws.ec2.EC2Exception,
java.io.IOException,
java.lang.InterruptedException,
org.jets3t.service.S3ServiceException
- Stage 2 of the launch. Called after the EC2 instance comes up.
- Throws:
com.xerox.amazonws.ec2.EC2Exception
java.io.IOException
java.lang.InterruptedException
org.jets3t.service.S3ServiceException
Copyright © 2010. All Rights Reserved.