hudson.plugins.delta_cloud
Class DCSlave

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Node
          extended by hudson.model.Slave
              extended by hudson.plugins.delta_cloud.DCSlave
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.Node>, hudson.model.ModelObject, hudson.model.ReconfigurableDescribable<hudson.model.Node>, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled, hudson.slaves.EphemeralNode, java.io.Serializable

public class DCSlave
extends hudson.model.Slave
implements hudson.slaves.EphemeralNode

See Also:
Serialized Form

Nested Class Summary
static class DCSlave.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.model.Slave
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
 
Nested classes/interfaces inherited from class hudson.model.Node
hudson.model.Node.InternalComputerListener, hudson.model.Node.Mode
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.Slave
name, remoteFS
 
Fields inherited from class hudson.model.Node
holdOffLaunchUntilSave
 
Constructor Summary
DCSlave(org.deltacloud.Instance instance, org.deltacloud.client.DeltaCloudClient client, java.lang.String name, java.lang.String nodeDescription, java.lang.String remoteFS, int numExecutors, hudson.model.Node.Mode mode, java.lang.String labelString, hudson.slaves.ComputerLauncher launcher, hudson.slaves.RetentionStrategy retentionStrategy, java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties)
           
 
Method Summary
 hudson.model.Node asNode()
           
 hudson.model.Computer createComputer()
           
 void terminate()
          Terminates the instance.
 
Methods inherited from class hudson.model.Slave
createLauncher, equals, getClockDifference, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getWorkspaceFor, getWorkspaceRoot, hashCode, setLauncher, setMode, setNodeName, setRetentionStrategy
 
Methods inherited from class hudson.model.Node
canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isHoldOffLaunchUntilSave, reconfigure, toComputer
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DCSlave

@DataBoundConstructor
public DCSlave(org.deltacloud.Instance instance,
                                    org.deltacloud.client.DeltaCloudClient client,
                                    java.lang.String name,
                                    java.lang.String nodeDescription,
                                    java.lang.String remoteFS,
                                    int numExecutors,
                                    hudson.model.Node.Mode mode,
                                    java.lang.String labelString,
                                    hudson.slaves.ComputerLauncher launcher,
                                    hudson.slaves.RetentionStrategy retentionStrategy,
                                    java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties)
        throws hudson.model.Descriptor.FormException,
               java.io.IOException
Throws:
hudson.model.Descriptor.FormException
java.io.IOException
Method Detail

terminate

public void terminate()
Terminates the instance.


asNode

public hudson.model.Node asNode()
Specified by:
asNode in interface hudson.slaves.EphemeralNode

createComputer

public hudson.model.Computer createComputer()
Overrides:
createComputer in class hudson.model.Slave


Copyright © 2004-2011. All Rights Reserved.