public class ReconfigureMemory extends ReconfigureStep
Modifier and Type | Class and Description |
---|---|
static class |
ReconfigureMemory.ReconfigureMemoryDescriptor |
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
spec, vm, vsphere
Constructor and Description |
---|
ReconfigureMemory(String memorySize) |
Modifier and Type | Method and Description |
---|---|
String |
getMemorySize() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
reconfigureMemory(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
all, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, setVirtualMachineConfigSpec, setVM, setVsphere
getDescriptor
@DataBoundConstructor public ReconfigureMemory(String memorySize) throws VSphereException
VSphereException
public String getMemorySize()
public void perform(@NonNull Run<?,?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
perform
in class ReconfigureStep
InterruptedException
IOException
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform
in class ReconfigureStep
public boolean reconfigureMemory(Run<?,?> run, Launcher launcher, TaskListener listener) throws VSphereException
VSphereException
Copyright © 2016–2022. All rights reserved.