Class ReconfigureNetworkAdapters
java.lang.Object
hudson.model.AbstractDescribableImpl<ReconfigureStep>
org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
org.jenkinsci.plugins.vsphere.builders.ReconfigureNetworkAdapters
- All Implemented Interfaces:
ExtensionPoint,Describable<ReconfigureStep>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
spec, vm, vsphere -
Constructor Summary
ConstructorsConstructorDescriptionReconfigureNetworkAdapters(ReconfigureStep.DeviceAction deviceAction, String deviceLabel, String macAddress, boolean standardSwitch, String portGroup, boolean distributedSwitch, String distributedPortGroup, String distributedPortId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener listener) booleanreconfigureNetwork(Run<?, ?> run, Launcher launcher, TaskListener listener) Methods inherited from class org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
all, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, setVirtualMachineConfigSpec, setVM, setVsphereMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ReconfigureNetworkAdapters
@DataBoundConstructor public ReconfigureNetworkAdapters(ReconfigureStep.DeviceAction deviceAction, String deviceLabel, String macAddress, boolean standardSwitch, String portGroup, boolean distributedSwitch, String distributedPortGroup, String distributedPortId) throws VSphereException - Throws:
VSphereException
-
-
Method Details
-
getDeviceAction
-
getDeviceLabel
-
getMacAddress
-
isStandardSwitch
public boolean isStandardSwitch() -
isDistributedSwitch
public boolean isDistributedSwitch() -
getPortGroup
-
getDistributedPortGroup
-
getDistributedPortId
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin classReconfigureStep- Throws:
InterruptedExceptionIOException
-
perform
- Specified by:
performin classReconfigureStep
-
reconfigureNetwork
public boolean reconfigureNetwork(Run<?, ?> run, Launcher launcher, TaskListener listener) throws VSphereException- Throws:
VSphereException
-