Class ReconfigureDisk
java.lang.Object
hudson.model.AbstractDescribableImpl<ReconfigureStep>
org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
org.jenkinsci.plugins.vsphere.builders.ReconfigureDisk
- All Implemented Interfaces:
ExtensionPoint,Describable<ReconfigureStep>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptor, ReconfigureStep.SpecSubmitter, ReconfigureStep.StepActionNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNamed after thedatastoredata-bound property, so that the config form can read the value back.Deprecated.voidperform(EnvVars env, TaskListener listener) voidperform(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener listener) booleanreconfigureDisk(Run<?, ?> run, Launcher launcher, TaskListener listener) voidsetDeviceAction(ReconfigureStep.DeviceAction deviceAction) voidsetDeviceLabel(String deviceLabel) voidsetDeviceNumber(String deviceNumber) Methods inherited from class org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
all, extractEnvironment, fallbackVariant, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, perform, reconfigureVm, setVirtualMachineConfigSpec, setVM, setVsphereMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
ReconfigureDisk
@DataBoundConstructor public ReconfigureDisk(String diskSize, String datastore) throws VSphereException - Throws:
VSphereException
-
-
Method Details
-
getDiskSize
-
getDatastore
Named after thedatastoredata-bound property, so that the config form can read the value back. -
getDataStore
Deprecated.Misspelled; the config form looks upgetDatastore()(JENKINS-66937). -
getDeviceAction
-
setDeviceAction
-
getDeviceLabel
-
setDeviceLabel
-
getDeviceNumber
-
setDeviceNumber
-
perform
- Specified by:
performin classReconfigureStep- Throws:
VSphereException
-
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
-
reconfigureDisk
public boolean reconfigureDisk(Run<?, ?> run, Launcher launcher, TaskListener listener) throws VSphereException- Throws:
VSphereException
-
getDatastore()(JENKINS-66937).