Package hudson.plugins.ec2
Class EC2ComputerLauncher
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ComputerLauncher>
-
- hudson.slaves.ComputerLauncher
-
- hudson.plugins.ec2.EC2ComputerLauncher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
- Direct Known Subclasses:
EC2MacLauncher
,EC2UnixLauncher
,EC2WindowsLauncher
public abstract class EC2ComputerLauncher extends ComputerLauncher
ComputerLauncher
for EC2 that wraps the real user-specifiedComputerLauncher
.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
-
Constructor Summary
Constructors Constructor Description EC2ComputerLauncher()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
launch(SlaveComputer slaveComputer, TaskListener listener)
protected abstract void
launchScript(EC2Computer computer, TaskListener listener)
Stage 2 of the launch.-
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
launch
public void launch(SlaveComputer slaveComputer, TaskListener listener)
- Overrides:
launch
in classComputerLauncher
-
launchScript
protected abstract void launchScript(EC2Computer computer, TaskListener listener) throws com.amazonaws.AmazonClientException, IOException, InterruptedException
Stage 2 of the launch. Called after the EC2 instance comes up.- Throws:
com.amazonaws.AmazonClientException
IOException
InterruptedException
-
-