public class ReconfigureAnnotation extends ReconfigureStep
Modifier and Type | Class and Description |
---|---|
static class |
ReconfigureAnnotation.ReconfigureAnnotationDescriptor |
ReconfigureStep.DeviceAction, ReconfigureStep.ReconfigureStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
spec, vm, vsphere
Constructor and Description |
---|
ReconfigureAnnotation()
Constructor that takes all mandatory fields.
|
Modifier and Type | Method and Description |
---|---|
String |
getAnnotation() |
boolean |
getAppend() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
reconfigureAnnotation(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
void |
setAnnotation(String annotation) |
void |
setAppend(boolean append) |
all, findDeviceByLabel, getVirtualMachineConfigSpec, getVM, getVsphere, setVirtualMachineConfigSpec, setVM, setVsphere
getDescriptor
@DataBoundConstructor public ReconfigureAnnotation()
@DataBoundSetter public void setAnnotation(String annotation)
public String getAnnotation()
@DataBoundSetter public void setAppend(boolean append)
public boolean getAppend()
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 reconfigureAnnotation(Run<?,?> run, Launcher launcher, TaskListener listener) throws VSphereException
VSphereException
Copyright © 2016–2022. All rights reserved.