hudson.plugins.ec2
Class EC2RetentionStrategy

java.lang.Object
  extended by hudson.slaves.RetentionStrategy<EC2Computer>
      extended by hudson.plugins.ec2.EC2RetentionStrategy
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.RetentionStrategy<?>>

public class EC2RetentionStrategy
extends hudson.slaves.RetentionStrategy<EC2Computer>

RetentionStrategy for EC2.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class EC2RetentionStrategy.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.slaves.RetentionStrategy
hudson.slaves.RetentionStrategy.Always, hudson.slaves.RetentionStrategy.Demand
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static boolean disabled
           
 
Fields inherited from class hudson.slaves.RetentionStrategy
INSTANCE, LIST, NOOP
 
Constructor Summary
EC2RetentionStrategy()
           
 
Method Summary
 long check(EC2Computer c)
           
 void start(EC2Computer c)
          Try to connect to it ASAP.
 
Methods inherited from class hudson.slaves.RetentionStrategy
all, getDescriptor, isManualLaunchAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

disabled

public static boolean disabled
Constructor Detail

EC2RetentionStrategy

@DataBoundConstructor
public EC2RetentionStrategy()
Method Detail

check

public long check(EC2Computer c)
Specified by:
check in class hudson.slaves.RetentionStrategy<EC2Computer>

start

public void start(EC2Computer c)
Try to connect to it ASAP.

Overrides:
start in class hudson.slaves.RetentionStrategy<EC2Computer>


Copyright © 2010. All Rights Reserved.