public class VirtualMachineLauncher
extends hudson.slaves.ComputerLauncher
| Constructor and Description |
|---|
VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
String hypervisorDescription,
String virtualMachineName,
String snapshotName,
int waitingTimeSecs) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
void |
beforeDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
Hypervisor |
findOurHypervisorInstance() |
hudson.slaves.ComputerLauncher |
getDelegate() |
hudson.model.Descriptor<hudson.slaves.ComputerLauncher> |
getDescriptor() |
VirtualMachine |
getVirtualMachine() |
String |
getVirtualMachineName() |
boolean |
isLaunchSupported() |
void |
launch(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
public hudson.slaves.ComputerLauncher getDelegate()
public VirtualMachine getVirtualMachine()
public String getVirtualMachineName()
public boolean isLaunchSupported()
isLaunchSupported in class hudson.slaves.ComputerLauncherpublic Hypervisor findOurHypervisorInstance() throws RuntimeException
RuntimeExceptionpublic void launch(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
throws IOException,
InterruptedException
launch in class hudson.slaves.ComputerLauncherIOExceptionInterruptedExceptionpublic void afterDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
afterDisconnect in class hudson.slaves.ComputerLauncherpublic void beforeDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
beforeDisconnect in class hudson.slaves.ComputerLauncherpublic hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.slaves.ComputerLauncher>getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>Copyright © 2004-2013 Byte-Code. All Rights Reserved.