hudson.plugins.ec2
Class EC2RetentionStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.slaves.RetentionStrategy<?>>
hudson.slaves.RetentionStrategy<EC2Computer>
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 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 |
| Fields inherited from class hudson.slaves.RetentionStrategy |
INSTANCE, LIST, NOOP |
| Methods inherited from class hudson.slaves.RetentionStrategy |
all, isManualLaunchAllowed |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
idleTerminationMinutes
public final int idleTerminationMinutes
- Number of minutes of idleness before an instance should be terminated.
A value of zero indicates that the instance should never be automatically terminated
disabled
public static boolean disabled
EC2RetentionStrategy
@DataBoundConstructor
public EC2RetentionStrategy(String idleTerminationMinutes)
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 © 2004-2012 Hudson. All Rights Reserved.