public class VirtualMachineLauncher
extends hudson.slaves.ComputerLauncher
| Modifier and Type | Class and Description |
|---|---|
static class |
VirtualMachineLauncher.RevertPolicy |
| Constructor and Description |
|---|
VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
String datacenterDescription,
String datacenterNode,
Integer virtualMachineId,
String snapshotName,
Boolean startVM,
int waitingTimeSecs,
VirtualMachineLauncher.RevertPolicy revertPolicy) |
| 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) |
Datacenter |
findDatacenterInstance() |
hudson.slaves.ComputerLauncher |
getDelegate() |
hudson.model.Descriptor<hudson.slaves.ComputerLauncher> |
getDescriptor() |
boolean |
isLaunchSupported() |
void |
launch(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
void |
revertSnapshot(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
void |
shutdown(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener) |
@DataBoundConstructor
public VirtualMachineLauncher(hudson.slaves.ComputerLauncher delegate,
String datacenterDescription,
String datacenterNode,
Integer virtualMachineId,
String snapshotName,
Boolean startVM,
int waitingTimeSecs,
VirtualMachineLauncher.RevertPolicy revertPolicy)
public hudson.slaves.ComputerLauncher getDelegate()
public Datacenter findDatacenterInstance() throws RuntimeException
RuntimeExceptionpublic boolean isLaunchSupported()
isLaunchSupported in class hudson.slaves.ComputerLauncherpublic void revertSnapshot(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic 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 shutdown(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
public 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 © 2016–2020 Dynamo-Media. All rights reserved.