in cloud-vmware-server/src/main/java/jetbrains/buildServer/clouds/vmware/connector/VMWareApiConnector.java [63:108]
Task startInstance(VmwareCloudInstance instance, String agentName, CloudInstanceUserData userData)
throws VmwareCheckedCloudException, InterruptedException;
Task reconfigureInstance(@NotNull final VmwareCloudInstance instance,
@NotNull final String agentName,
@NotNull final CloudInstanceUserData userData) throws VmwareCheckedCloudException;
Task cloneAndStartVm(@NotNull final VmwareCloudInstance instance) throws VmwareCheckedCloudException;
<T extends ManagedEntity> boolean hasPrivilegeOnResource(@NotNull final String entityId,
@NotNull final Class<T> instanceType,
@NotNull final String permission) throws VmwareCheckedCloudException;
Task stopInstance(VmwareCloudInstance instance);
Task deleteInstance(VmwareCloudInstance instance);
void restartInstance(VmwareCloudInstance instance) throws VmwareCheckedCloudException;
boolean checkVirtualMachineExists(@NotNull String vmName);
void processImageInstances(@NotNull final VmwareCloudImage image, @NotNull final VmwareInstanceProcessor processor);
@NotNull
VmwareInstance getInstanceDetails(String instanceName) throws VmwareCheckedCloudException;
@Nullable
InstanceStatus getInstanceStatus(@NotNull final VirtualMachine vm);
void dispose();
@Override
@NotNull
<R extends AbstractInstance> Map<String, R> fetchInstances(@NotNull final VmwareCloudImage image) throws VmwareCheckedCloudException;
@NotNull
@Override
<R extends AbstractInstance> Map<VmwareCloudImage, Map<String, R>> fetchInstances(@NotNull final Collection<VmwareCloudImage> images) throws VmwareCheckedCloudException;
@NotNull
Map<String,String> getCustomizationSpecs();
CustomizationSpec getCustomizationSpec(String name) throws VmwareCheckedCloudException;
interface VmwareInstanceProcessor {
void process(VmwareInstance instance);
}