hudson.plugins.virtualbox
Class VirtualBoxSlave
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Node
hudson.model.Slave
hudson.plugins.virtualbox.VirtualBoxSlave
- 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, Serializable
public class VirtualBoxSlave
- extends hudson.model.Slave
Slave
running on VirtualBox.
- Author:
- Evgeny Mandrikov
- See Also:
- Serialized Form
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 |
Fields inherited from class hudson.model.Slave |
name, remoteFS |
Fields inherited from class hudson.model.Node |
holdOffLaunchUntilSave |
Constructor Summary |
VirtualBoxSlave(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 hostName,
String virtualMachineName,
String virtualMachineType)
|
VirtualBoxSlave(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 hostName,
String virtualMachineName,
String virtualMachineType,
String virtualMachineStopMode)
|
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 |
canTake, 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 |
VirtualBoxSlave
@DataBoundConstructor
public VirtualBoxSlave(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 hostName,
String virtualMachineName,
String virtualMachineType,
String virtualMachineStopMode)
throws hudson.model.Descriptor.FormException,
IOException
- Throws:
hudson.model.Descriptor.FormException
IOException
VirtualBoxSlave
public VirtualBoxSlave(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 hostName,
String virtualMachineName,
String virtualMachineType)
throws hudson.model.Descriptor.FormException,
IOException
- Throws:
hudson.model.Descriptor.FormException
IOException
createComputer
public hudson.model.Computer createComputer()
- Overrides:
createComputer
in class hudson.model.Slave
getHostName
public String getHostName()
- Returns:
- host name
getVirtualMachineName
public String getVirtualMachineName()
- Returns:
- virtual machine name
getVirtualMachineType
public String getVirtualMachineType()
- Returns:
- type of virtual machine, can be headless, vrdp, gui, or sdl
getVirtualMachineStopMode
public String getVirtualMachineStopMode()
- Returns:
- type of stop mode for virtual machine, can be powerdown or pause
getLauncher
public VirtualBoxComputerLauncher getLauncher()
- Overrides:
getLauncher
in class hudson.model.Slave
getDelegateLauncher
public hudson.slaves.ComputerLauncher getDelegateLauncher()
- For UI.
- Returns:
- original launcher
Copyright © 2004-2013. All Rights Reserved.