public class vSphereCloudLauncher extends DelegatingComputerLauncher
Modifier and Type | Class and Description |
---|---|
static class |
vSphereCloudLauncher.MACHINE_ACTION |
DelegatingComputerLauncher.DescriptorImpl
ExtensionPoint.LegacyInstancesAreScopedToHudson
launcher
LIST
Constructor and Description |
---|
vSphereCloudLauncher(ComputerLauncher launcher,
String vsDescription,
String vmName,
Boolean overrideLaunchSupported,
Boolean waitForVMTools,
String snapName,
String launchDelay,
String idleOption,
String LimitedTestRunCount) |
Modifier and Type | Method and Description |
---|---|
void |
afterDisconnect(SlaveComputer slaveComputer,
TaskListener taskListener) |
vSphereCloud |
findOurVsInstance()
Find the
vSphereCloud for this vSphereCloudLauncher , or
dies trying. |
ComputerLauncher |
getDelegate()
Deprecated.
|
Descriptor<ComputerLauncher> |
getDescriptor() |
vSphereCloudLauncher.MACHINE_ACTION |
getIdleAction() |
Integer |
getLimitedTestRunCount() |
Boolean |
getOverrideLaunchSupported() |
String |
getVmName() |
String |
getVsDescription() |
Boolean |
getWaitForVMTools() |
boolean |
isLaunchSupported() |
void |
launch(SlaveComputer slaveComputer,
TaskListener taskListener) |
beforeDisconnect, getLauncher
afterDisconnect, beforeDisconnect, checkJavaVersion, launch
public vSphereCloud findOurVsInstance() throws RuntimeException
vSphereCloud
for this vSphereCloudLauncher
, or
dies trying.vSphereCloud
. It will not return null.RuntimeException
- if it cannot find the vSphereCloud
- e.g. if it's
been deleted or the description has changed.public void launch(SlaveComputer slaveComputer, TaskListener taskListener) throws IOException, InterruptedException
launch
in class DelegatingComputerLauncher
IOException
InterruptedException
public void afterDisconnect(SlaveComputer slaveComputer, TaskListener taskListener)
afterDisconnect
in class DelegatingComputerLauncher
@Deprecated public ComputerLauncher getDelegate()
DelegatingComputerLauncher.getLauncher()
public String getVmName()
public String getVsDescription()
public vSphereCloudLauncher.MACHINE_ACTION getIdleAction()
public Boolean getOverrideLaunchSupported()
public Boolean getWaitForVMTools()
public Integer getLimitedTestRunCount()
public boolean isLaunchSupported()
isLaunchSupported
in class ComputerLauncher
public Descriptor<ComputerLauncher> getDescriptor()
getDescriptor
in interface Describable<ComputerLauncher>
getDescriptor
in class AbstractDescribableImpl<ComputerLauncher>
Copyright © 2016–2022. All rights reserved.