hudson.plugins.ec2.ssh
Class EC2UnixLauncher

java.lang.Object
  extended by hudson.slaves.ComputerLauncher
      extended by hudson.plugins.ec2.EC2ComputerLauncher
          extended by hudson.plugins.ec2.ssh.EC2UnixLauncher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>

public class EC2UnixLauncher
extends EC2ComputerLauncher

ComputerLauncher that connects to a Unix slave on EC2 by using SSH.

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
EC2UnixLauncher()
           
 
Method Summary
 hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
           
protected  void launch(EC2Computer computer, java.io.PrintStream logger, com.xerox.amazonws.ec2.ReservationDescription.Instance inst)
          Stage 2 of the launch.
 
Methods inherited from class hudson.plugins.ec2.EC2ComputerLauncher
launch
 
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, isLaunchSupported, launch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EC2UnixLauncher

public EC2UnixLauncher()
Method Detail

launch

protected void launch(EC2Computer computer,
                      java.io.PrintStream logger,
                      com.xerox.amazonws.ec2.ReservationDescription.Instance inst)
               throws java.io.IOException,
                      com.xerox.amazonws.ec2.EC2Exception,
                      java.lang.InterruptedException,
                      org.jets3t.service.S3ServiceException
Description copied from class: EC2ComputerLauncher
Stage 2 of the launch. Called after the EC2 instance comes up.

Specified by:
launch in class EC2ComputerLauncher
Throws:
java.io.IOException
com.xerox.amazonws.ec2.EC2Exception
java.lang.InterruptedException
org.jets3t.service.S3ServiceException

getDescriptor

public hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.slaves.ComputerLauncher>
Overrides:
getDescriptor in class hudson.slaves.ComputerLauncher


Copyright © 2010. All Rights Reserved.