public abstract class ReconfigureStep extends AbstractDescribableImpl<ReconfigureStep> implements ExtensionPoint
| Modifier and Type | Class and Description |
|---|---|
static class |
ReconfigureStep.DeviceAction |
static class |
ReconfigureStep.ReconfigureStepDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
protected com.vmware.vim25.VirtualMachineConfigSpec |
spec |
protected com.vmware.vim25.mo.VirtualMachine |
vm |
protected VSphere |
vsphere |
| Constructor and Description |
|---|
ReconfigureStep() |
| Modifier and Type | Method and Description |
|---|---|
static List<ReconfigureStep.ReconfigureStepDescriptor> |
all() |
protected com.vmware.vim25.VirtualDevice |
findDeviceByLabel(com.vmware.vim25.VirtualDevice[] devices,
String label) |
com.vmware.vim25.VirtualMachineConfigSpec |
getVirtualMachineConfigSpec() |
com.vmware.vim25.mo.VirtualMachine |
getVM() |
VSphere |
getVsphere() |
abstract boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
abstract void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
void |
setVirtualMachineConfigSpec(com.vmware.vim25.VirtualMachineConfigSpec spec) |
void |
setVM(com.vmware.vim25.mo.VirtualMachine vm) |
void |
setVsphere(VSphere vsphere) |
getDescriptorprotected com.vmware.vim25.VirtualMachineConfigSpec spec
protected com.vmware.vim25.mo.VirtualMachine vm
protected VSphere vsphere
public VSphere getVsphere()
public void setVsphere(VSphere vsphere)
public com.vmware.vim25.mo.VirtualMachine getVM()
public void setVM(com.vmware.vim25.mo.VirtualMachine vm)
public com.vmware.vim25.VirtualMachineConfigSpec getVirtualMachineConfigSpec()
public void setVirtualMachineConfigSpec(com.vmware.vim25.VirtualMachineConfigSpec spec)
public static List<ReconfigureStep.ReconfigureStepDescriptor> all()
public abstract boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws VSphereException
VSphereExceptionpublic abstract void perform(@NonNull
Run<?,?> run,
FilePath filePath,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionprotected com.vmware.vim25.VirtualDevice findDeviceByLabel(com.vmware.vim25.VirtualDevice[] devices,
String label)
Copyright © 2016–2022. All rights reserved.