jenkins.plugins.jclouds.compute
Class JCloudsLauncher

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
      extended by hudson.slaves.ComputerLauncher
          extended by jenkins.plugins.jclouds.compute.JCloudsLauncher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>

public class JCloudsLauncher
extends hudson.slaves.ComputerLauncher

The launcher that launches the jenkins slave.jar on the Slave. Uses the SSHKeyPair configured in the cloud profile settings, and logs in to the server via SSH, and starts the slave.jar.

Author:
Vijay Kiran

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
JCloudsLauncher()
           
 
Method Summary
 hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
           
 void launch(hudson.slaves.SlaveComputer computer, hudson.model.TaskListener listener)
          Launch the Jenkins Slave on the SlaveComputer.
 
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

JCloudsLauncher

public JCloudsLauncher()
Method Detail

launch

public void launch(hudson.slaves.SlaveComputer computer,
                   hudson.model.TaskListener listener)
            throws IOException,
                   InterruptedException
Launch the Jenkins Slave on the SlaveComputer.

Overrides:
launch in class hudson.slaves.ComputerLauncher
Parameters:
computer -
listener -
Throws:
IOException
InterruptedException

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.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>


Copyright © 2004-2012. All Rights Reserved.