Class ReconfigureCpu
java.lang.Object
hudson.model.AbstractDescribableImpl<ReconfigureStep>
org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
org.jenkinsci.plugins.vsphere.builders.ReconfigureCpu
- 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.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener listener) booleanreconfigureCPU(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
-
ReconfigureCpu
@DataBoundConstructor public ReconfigureCpu(String cpuCores, String coresPerSocket) throws VSphereException - Throws:
VSphereException
-
-
Method Details
-
getCpuCores
-
getCoresPerSocket
-
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
-
reconfigureCPU
public boolean reconfigureCPU(Run<?, ?> run, Launcher launcher, TaskListener listener) throws VSphereException- Throws:
VSphereException
-