hudson.plugins.libvirt
Class VirtualMachineLauncher
java.lang.Object
hudson.slaves.ComputerLauncher
hudson.plugins.libvirt.VirtualMachineLauncher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>
public class VirtualMachineLauncher
- extends hudson.slaves.ComputerLauncher
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
static hudson.model.Descriptor<hudson.slaves.ComputerLauncher> |
DESCRIPTOR
|
| Fields inherited from class hudson.slaves.ComputerLauncher |
LIST |
|
Constructor Summary |
VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
java.lang.String hypervisorDescription,
java.lang.String virtualMachineName)
|
| Methods inherited from class hudson.slaves.ComputerLauncher |
afterDisconnect, beforeDisconnect, launch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final hudson.model.Descriptor<hudson.slaves.ComputerLauncher> DESCRIPTOR
VirtualMachineLauncher
@DataBoundConstructor
public VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
java.lang.String hypervisorDescription,
java.lang.String virtualMachineName)
getDelegate
public hudson.slaves.ComputerLauncher getDelegate()
getVirtualMachine
public VirtualMachine getVirtualMachine()
isLaunchSupported
public boolean isLaunchSupported()
- Overrides:
isLaunchSupported in class hudson.slaves.ComputerLauncher
launch
public void launch(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
launch in class hudson.slaves.ComputerLauncher
- Throws:
java.io.IOException
java.lang.InterruptedException
afterDisconnect
public void afterDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
- Overrides:
afterDisconnect in class hudson.slaves.ComputerLauncher
beforeDisconnect
public void beforeDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
- Overrides:
beforeDisconnect in class hudson.slaves.ComputerLauncher
getDescriptor
public hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.slaves.ComputerLauncher>- Overrides:
getDescriptor in class hudson.slaves.ComputerLauncher
Copyright © 2010. All Rights Reserved.