hudson.plugins.ec2
Class EC2ComputerLauncher

java.lang.Object
  extended by hudson.slaves.ComputerLauncher
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
 
Constructor Summary
EC2ComputerLauncher()
           
 
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
 

Constructor Detail

EC2ComputerLauncher

public EC2ComputerLauncher()
Method Detail

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.