@RequiresDomain(value=CloudDeploymentDeleter.ScopeRequirement.class) public class CloudDeploymentDeleter extends AbstractCloudDeployment
Publishers,and
wires AbstractCloudDeployment.insert(hudson.FilePath, hudson.EnvVars, java.io.PrintStream) to AbstractCloudDeployment.delete(hudson.EnvVars, java.io.PrintStream) to enable
AbstractCloudDeployment.insert(hudson.FilePath, hudson.EnvVars, java.io.PrintStream) to act as the entry point for single-action cloud
deployments.| Modifier and Type | Class and Description |
|---|---|
static class |
CloudDeploymentDeleter.DescriptorImpl
Denotes that this is a cloud deployment plugin.
|
static class |
CloudDeploymentDeleter.ScopeRequirement
Express the required scopes for deleting an arbitrary cloud deployment via this cloud
deployment.
|
AbstractCloudDeployment.ResolvedPathverbose| Constructor and Description |
|---|
CloudDeploymentDeleter(String credentialsId,
String deploymentName,
CloudDeploymentModule module)
Constructs the cloud deployment from the provided information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
insert(hudson.FilePath workspace,
hudson.EnvVars environment,
PrintStream logger)
Wire insert to delete
|
all, createDeployment, delete, deleteDeployment, execute, getCompatibleCloudDeployments, getCredentials, getCredentialsId, getDeployment, getDeploymentName, getDescriptor, getModule, getProjectId, insert, log, waitUntilDeleted, waitUntilDeployed, waitUntilDone@DataBoundConstructor public CloudDeploymentDeleter(String credentialsId, String deploymentName, @Nullable CloudDeploymentModule module)
credentialsId - The set of credentials to use for service authdeploymentName - The unresolved deployment name to usepublic void insert(hudson.FilePath workspace,
hudson.EnvVars environment,
@Nullable
PrintStream logger)
throws CloudManagementException
insert in class AbstractCloudDeploymentCloudManagementExceptionCopyright © 2016. All rights reserved.