Class ReconfigureAnnotation
java.lang.Object
hudson.model.AbstractDescribableImpl<ReconfigureStep>
org.jenkinsci.plugins.vsphere.builders.ReconfigureStep
org.jenkinsci.plugins.vsphere.builders.ReconfigureAnnotation
- 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.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 TypeMethodDescriptionbooleanvoidperform(EnvVars env, TaskListener listener) voidperform(Run<?, ?> run, FilePath filePath, Launcher launcher, TaskListener listener) booleanreconfigureAnnotation(Run<?, ?> run, Launcher launcher, TaskListener listener) voidsetAnnotation(String annotation) voidsetAppend(boolean append) 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
-
ReconfigureAnnotation
@DataBoundConstructor public ReconfigureAnnotation()Constructor that takes all mandatory fields.
-
-
Method Details
-
setAnnotation
-
getAnnotation
-
setAppend
@DataBoundSetter public void setAppend(boolean append) -
getAppend
public boolean getAppend() -
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
-
reconfigureAnnotation
public boolean reconfigureAnnotation(Run<?, ?> run, Launcher launcher, TaskListener listener) throws VSphereException- Throws:
VSphereException
-