public class ReconfigureNetworkAdapters extends ReconfigureStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ReconfigureNetworkAdapters.ReconfigureNetworkAdaptersDescriptor |
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptorExtensionPoint.LegacyInstancesAreScopedToHudsonspec, vm, vsphere| Constructor and Description |
|---|
ReconfigureNetworkAdapters(ReconfigureStep.DeviceAction deviceAction,
String deviceLabel,
String macAddress,
boolean standardSwitch,
String portGroup,
boolean distributedSwitch,
String distributedPortGroup,
String distributedPortId) |
| Modifier and Type | Method and Description |
|---|---|
ReconfigureStep.DeviceAction |
getDeviceAction() |
String |
getDeviceLabel() |
String |
getDistributedPortGroup() |
String |
getDistributedPortId() |
String |
getMacAddress() |
String |
getPortGroup() |
boolean |
isDistributedSwitch() |
boolean |
isStandardSwitch() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
reconfigureNetwork(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
all, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, setVirtualMachineConfigSpec, setVM, setVspheregetDescriptor@DataBoundConstructor public ReconfigureNetworkAdapters(ReconfigureStep.DeviceAction deviceAction, String deviceLabel, String macAddress, boolean standardSwitch, String portGroup, boolean distributedSwitch, String distributedPortGroup, String distributedPortId) throws VSphereException
VSphereExceptionpublic ReconfigureStep.DeviceAction getDeviceAction()
public String getDeviceLabel()
public String getMacAddress()
public boolean isStandardSwitch()
public boolean isDistributedSwitch()
public String getPortGroup()
public String getDistributedPortGroup()
public String getDistributedPortId()
public void perform(@NonNull
Run<?,?> run,
@NonNull
FilePath filePath,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
perform in class ReconfigureStepInterruptedExceptionIOExceptionpublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform in class ReconfigureSteppublic boolean reconfigureNetwork(Run<?,?> run, Launcher launcher, TaskListener listener) throws VSphereException
VSphereExceptionCopyright © 2016–2022. All rights reserved.