public abstract class AbstractCloudDeploymentDescriptor extends hudson.model.Descriptor<AbstractCloudDeployment>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCloudDeploymentDescriptor(Class<? extends AbstractCloudDeployment> clazz)
Boilerplate, see: https://wiki.jenkins-ci.org/display/JENKINS/Defining+a+new+extension+point
|
protected |
AbstractCloudDeploymentDescriptor(Class<? extends AbstractCloudDeployment> clazz,
CloudDeploymentModule module)
Create the descriptor of the cloud deployment from it's type on associated module for
instantiating dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doCheckConfigFilePath(String configFilePath,
hudson.model.AbstractProject project)
This callback validates the
configFilePath specified by the user. |
hudson.util.FormValidation |
doCheckDeploymentName(String deploymentName,
hudson.model.AbstractProject project)
This callback validates the
deploymentName specified by the user. |
CloudDeploymentModule |
getModule()
Retrieve the module to use for instantiating dependencies for instances described by this
descriptor.
|
String |
getRootUrl()
Retrieve the root URL that should be used for Google Deployment Manager API calls.
|
String |
getServicePath()
Retrieve the service path that should be used for Google Deployment Manager API calls.
|
abstract boolean |
isApplicable(hudson.model.Descriptor descriptor)
Determines whether the given cloud deployment is suitable for use with a particular class of
extensions.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMapprotected AbstractCloudDeploymentDescriptor(Class<? extends AbstractCloudDeployment> clazz, CloudDeploymentModule module)
protected AbstractCloudDeploymentDescriptor(Class<? extends AbstractCloudDeployment> clazz)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<AbstractCloudDeployment>hudson.model.Descriptor.FormExceptionpublic String getRootUrl()
public String getServicePath()
public abstract boolean isApplicable(hudson.model.Descriptor descriptor)
Determines whether the given cloud deployment is suitable for use with a particular class of extensions.
For instance, some may be designed for use with aCloud, while others may be designed
for use with a Publisher.public CloudDeploymentModule getModule()
public hudson.util.FormValidation doCheckConfigFilePath(@QueryParameter(value="configFilePath")
String configFilePath,
@AncestorInPath
hudson.model.AbstractProject project)
throws IOException
configFilePath specified by the user.IOExceptionpublic hudson.util.FormValidation doCheckDeploymentName(@QueryParameter(value="deploymentName")
String deploymentName,
@AncestorInPath
hudson.model.AbstractProject project)
throws IOException
deploymentName specified by the user.IOExceptionCopyright © 2016. All rights reserved.