hudson.plugins.labmanager
Class LabManagerVirtualMachineSlave

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Node
          extended by hudson.model.Slave
              extended by hudson.plugins.labmanager.LabManagerVirtualMachineSlave
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.Node>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled, Serializable

public class LabManagerVirtualMachineSlave
extends hudson.model.Slave

This describes a Virtual Machine that is being used as a slave that resides within Lab Manager.

Author:
Tom Rini
See Also:
Serialized Form

Nested Class Summary
static class LabManagerVirtualMachineSlave.DescriptorImpl
           
static class LabManagerVirtualMachineSlave.LabManagerVirtualMComputerListener
          Allow for a configurable maximum of VMs to be on at a given time
 
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
LabManagerVirtualMachineSlave(String name, String nodeDescription, String remoteFS, String numExecutors, hudson.model.Node.Mode mode, String labelString, hudson.slaves.ComputerLauncher delegateLauncher, hudson.slaves.RetentionStrategy retentionStrategy, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, String lmDescription, String vmName, String idleOption, boolean launchSupportForced, String launchDelay)
           
 
Method Summary
 hudson.slaves.ComputerLauncher getDelegateLauncher()
          For UI.
 String getIdleOption()
           
 String getLaunchDelay()
           
 String getLmDescription()
           
 String getVmName()
           
 boolean isLaunchSupportForced()
           
 void setLaunchSupportForced(boolean slaveLaunchesOnBootup)
           
 
Methods inherited from class hudson.model.Slave
createComputer, 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, 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

LabManagerVirtualMachineSlave

@DataBoundConstructor
public LabManagerVirtualMachineSlave(String name,
                                                          String nodeDescription,
                                                          String remoteFS,
                                                          String numExecutors,
                                                          hudson.model.Node.Mode mode,
                                                          String labelString,
                                                          hudson.slaves.ComputerLauncher delegateLauncher,
                                                          hudson.slaves.RetentionStrategy retentionStrategy,
                                                          List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
                                                          String lmDescription,
                                                          String vmName,
                                                          String idleOption,
                                                          boolean launchSupportForced,
                                                          String launchDelay)
                              throws hudson.model.Descriptor.FormException,
                                     IOException
Throws:
hudson.model.Descriptor.FormException
IOException
Method Detail

getLmDescription

public String getLmDescription()

getVmName

public String getVmName()

getIdleOption

public String getIdleOption()

isLaunchSupportForced

public boolean isLaunchSupportForced()

setLaunchSupportForced

public void setLaunchSupportForced(boolean slaveLaunchesOnBootup)

getLaunchDelay

public String getLaunchDelay()

getDelegateLauncher

public hudson.slaves.ComputerLauncher getDelegateLauncher()
For UI.

Returns:
original launcher


Copyright © 2004-2011. All Rights Reserved.