hudson.plugins.libvirt
Class VirtualMachineLauncher

java.lang.Object
  extended by hudson.slaves.ComputerLauncher
      extended by hudson.plugins.libvirt.VirtualMachineLauncher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>

public class VirtualMachineLauncher
extends hudson.slaves.ComputerLauncher


Nested Class Summary
 
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)
           
 
Method Summary
 void afterDisconnect(hudson.slaves.SlaveComputer slaveComputer, hudson.model.TaskListener taskListener)
           
 void beforeDisconnect(hudson.slaves.SlaveComputer slaveComputer, hudson.model.TaskListener taskListener)
           
 hudson.slaves.ComputerLauncher getDelegate()
           
 hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
           
 VirtualMachine getVirtualMachine()
           
 boolean isLaunchSupported()
           
 void launch(hudson.slaves.SlaveComputer slaveComputer, hudson.model.TaskListener taskListener)
           
 
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
 

Field Detail

DESCRIPTOR

@Extension
public static final hudson.model.Descriptor<hudson.slaves.ComputerLauncher> DESCRIPTOR
Constructor Detail

VirtualMachineLauncher

@DataBoundConstructor
public VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
                                                   java.lang.String hypervisorDescription,
                                                   java.lang.String virtualMachineName)
Method Detail

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.