hudson.plugins.virtualbox
Class VirtualBoxSlave

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Node
          extended by hudson.model.Slave
              extended by hudson.plugins.virtualbox.VirtualBoxSlave
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 VirtualBoxSlave
extends hudson.model.Slave

Slave running on VirtualBox.

Author:
Evgeny Mandrikov
See Also:
Serialized Form

Nested Class Summary
static class VirtualBoxSlave.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
VirtualBoxSlave(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, hudson.slaves.ComputerLauncher delegateLauncher, hudson.slaves.RetentionStrategy retentionStrategy, java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, java.lang.String hostName, java.lang.String virtualMachineName, java.lang.String type)
           
 
Method Summary
 hudson.model.Computer createComputer()
           
 hudson.slaves.ComputerLauncher getDelegateLauncher()
          For UI.
 java.lang.String getHostName()
           
 VirtualBoxComputerLauncher getLauncher()
           
 java.lang.String getType()
           
 java.lang.String getVirtualMachineName()
           
 
Methods inherited from class hudson.model.Slave
createLauncher, equals, getClockDifference, getComputer, getDescriptor, getLabelString, 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

VirtualBoxSlave

@DataBoundConstructor
public VirtualBoxSlave(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,
                                            hudson.slaves.ComputerLauncher delegateLauncher,
                                            hudson.slaves.RetentionStrategy retentionStrategy,
                                            java.util.List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
                                            java.lang.String hostName,
                                            java.lang.String virtualMachineName,
                                            java.lang.String type)
                throws hudson.model.Descriptor.FormException,
                       java.io.IOException
Throws:
hudson.model.Descriptor.FormException
java.io.IOException
Method Detail

createComputer

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

getHostName

public java.lang.String getHostName()
Returns:
host name

getVirtualMachineName

public java.lang.String getVirtualMachineName()
Returns:
virtual machine name

getType

public java.lang.String getType()
Returns:
type of virtual machine, can be headless or vrdp

getLauncher

public VirtualBoxComputerLauncher getLauncher()
Overrides:
getLauncher in class hudson.model.Slave

getDelegateLauncher

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

Returns:
original launcher


Copyright © 2010. All Rights Reserved.