public class Clone extends VSphereBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
Clone.CloneDescriptor |
VSphereBuildStep.VSphereBuildStepDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
vsphere
Constructor and Description |
---|
Clone(String sourceName,
String clone,
boolean linkedClone,
String resourcePool,
String cluster,
String datastore,
String folder,
boolean powerOn,
Integer timeoutInSeconds,
String customizationSpec) |
Modifier and Type | Method and Description |
---|---|
String |
getClone() |
String |
getCluster() |
String |
getCustomizationSpec() |
String |
getDatastore() |
String |
getFolder() |
String |
getIP() |
String |
getResourcePool() |
String |
getSourceName() |
int |
getTimeoutInSeconds() |
boolean |
isLinkedClone() |
boolean |
isPowerOn() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener listener) |
all, allowDelete, getDescriptor, getVsphere, setVsphere
@DataBoundConstructor public Clone(String sourceName, String clone, boolean linkedClone, String resourcePool, String cluster, String datastore, String folder, boolean powerOn, Integer timeoutInSeconds, String customizationSpec) throws VSphereException
VSphereException
public String getSourceName()
public String getClone()
public boolean isLinkedClone()
public String getCluster()
public String getResourcePool()
public String getDatastore()
public String getFolder()
public String getCustomizationSpec()
public boolean isPowerOn()
public int getTimeoutInSeconds()
public void perform(@NonNull Run<?,?> run, @NonNull FilePath filePath, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException
perform
in class VSphereBuildStep
InterruptedException
IOException
public String getIP()
getIP
in class VSphereBuildStep
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws AbortException
perform
in class VSphereBuildStep
AbortException
Copyright © 2016–2022. All rights reserved.