Package hudson.plugins.libvirt
Class VirtualMachineLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
hudson.slaves.DelegatingComputerLauncher
hudson.plugins.libvirt.VirtualMachineLauncher
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
- Author:
- Marco Mornati, Philipp Bartsch
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.slaves.DelegatingComputerLauncher
DelegatingComputerLauncher.DescriptorImpl
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.slaves.DelegatingComputerLauncher
launcher
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
Constructor Summary
ConstructorsConstructorDescriptionVirtualMachineLauncher
(ComputerLauncher launcher, String hypervisorDescription, String virtualMachineName, int waitingTimeSecs, int timesToRetryOnFailure) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.boolean
void
launch
(SlaveComputer slaveComputer, TaskListener taskListener) Methods inherited from class hudson.slaves.DelegatingComputerLauncher
afterDisconnect, beforeDisconnect, getLauncher
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, beforeDisconnect, checkJavaVersion, launch
-
Constructor Details
-
VirtualMachineLauncher
@DataBoundConstructor public VirtualMachineLauncher(ComputerLauncher launcher, String hypervisorDescription, String virtualMachineName, int waitingTimeSecs, int timesToRetryOnFailure)
-
-
Method Details
-
getDelegate
Deprecated. -
getVirtualMachine
-
getVirtualMachineName
-
isLaunchSupported
public boolean isLaunchSupported()- Overrides:
isLaunchSupported
in classComputerLauncher
-
findOurHypervisorInstance
- Throws:
VirtException
-
launch
public void launch(SlaveComputer slaveComputer, TaskListener taskListener) throws IOException, InterruptedException - Overrides:
launch
in classDelegatingComputerLauncher
- Throws:
IOException
InterruptedException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<ComputerLauncher>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<ComputerLauncher>
-
DelegatingComputerLauncher.getLauncher()