jenkins.plugins.jclouds.compute
Class JCloudsRetentionStrategy

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.slaves.RetentionStrategy<?>>
      extended by hudson.slaves.RetentionStrategy<JCloudsComputer>
          extended by jenkins.plugins.jclouds.compute.JCloudsRetentionStrategy
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.RetentionStrategy<?>>

public class JCloudsRetentionStrategy
extends hudson.slaves.RetentionStrategy<JCloudsComputer>

Author:
Vijay Kiran

Nested Class Summary
static class JCloudsRetentionStrategy.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
JCloudsRetentionStrategy()
           
 
Method Summary
 long check(JCloudsComputer c)
           
 void start(JCloudsComputer c)
          Try to connect to it ASAP.
 
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
 

Field Detail

disabled

public static boolean disabled
Constructor Detail

JCloudsRetentionStrategy

@DataBoundConstructor
public JCloudsRetentionStrategy()
Method Detail

check

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

start

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

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


Copyright © 2004-2012. All Rights Reserved.