public class Rename extends VSphereBuildStep implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
Rename.RenameDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptor
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
vsphere
BUILDERS, PUBLISHERS
Modifier and Type | Method and Description |
---|---|
String |
getNewName() |
String |
getOldName() |
Action |
getProjectAction(AbstractProject<?,?> abstractProject) |
Collection<? extends Action> |
getProjectActions(AbstractProject<?,?> abstractProject) |
BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
boolean |
prebuild(AbstractBuild<?,?> abstractBuild,
BuildListener buildListener) |
boolean |
rename(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
all, allowDelete, getDescriptor, getIP, getVsphere, setVsphere
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
@DataBoundConstructor public Rename(String oldName, String newName) throws VSphereException
VSphereException
public String getOldName()
public String getNewName()
public void perform(@NonNull Run<?,?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
perform
in class VSphereBuildStep
InterruptedException
IOException
public boolean prebuild(AbstractBuild<?,?> abstractBuild, BuildListener buildListener)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
perform
in interface BuildStep
perform
in class VSphereBuildStep
public Action getProjectAction(AbstractProject<?,?> abstractProject)
getProjectAction
in interface BuildStep
public Collection<? extends Action> getProjectActions(AbstractProject<?,?> abstractProject)
getProjectActions
in interface BuildStep
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
public boolean rename(Run<?,?> run, Launcher launcher, TaskListener listener) throws VSphereException
VSphereException
Copyright © 2016–2022. All rights reserved.