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, java.io.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
           
 
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.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(java.lang.String name, java.lang.String nodeDescription, java.lang.String remoteFS, java.lang.String numExecutors, hudson.model.Node.Mode mode, java.lang.String labelString, LabManagerVirtualMachineLauncher launcher, hudson.slaves.ComputerLauncher delegateLauncher, hudson.slaves.RetentionStrategy retentionStrategy, java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, java.lang.String lmDescription, java.lang.String vmName, java.lang.String idleOption, boolean launchSupportForced)
           
 
Method Summary
 hudson.slaves.ComputerLauncher getDelegateLauncher()
          For UI.
 java.lang.String getIdleOption()
           
 java.lang.String getLmDescription()
           
 java.lang.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
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(java.lang.String name,
                                                          java.lang.String nodeDescription,
                                                          java.lang.String remoteFS,
                                                          java.lang.String numExecutors,
                                                          hudson.model.Node.Mode mode,
                                                          java.lang.String labelString,
                                                          LabManagerVirtualMachineLauncher launcher,
                                                          hudson.slaves.ComputerLauncher delegateLauncher,
                                                          hudson.slaves.RetentionStrategy retentionStrategy,
                                                          java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
                                                          java.lang.String lmDescription,
                                                          java.lang.String vmName,
                                                          java.lang.String idleOption,
                                                          boolean launchSupportForced)
                              throws hudson.model.Descriptor.FormException,
                                     java.io.IOException
Throws:
hudson.model.Descriptor.FormException
java.io.IOException
Method Detail

getLmDescription

public java.lang.String getLmDescription()

getVmName

public java.lang.String getVmName()

getIdleOption

public java.lang.String getIdleOption()

isLaunchSupportForced

public boolean isLaunchSupportForced()

setLaunchSupportForced

public void setLaunchSupportForced(boolean slaveLaunchesOnBootup)

getDelegateLauncher

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

Returns:
original launcher


Copyright © 2011. All Rights Reserved.