@Extension
public static class ComputeCloud.DescriptorImpl
extends hudson.model.Descriptor<hudson.slaves.Cloud>
Modifier and Type | Field and Description |
---|---|
static String |
DISPLAY_NAME |
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
checkUserName(String value,
boolean withContext) |
ComputeCloudClient |
createClient(String apiEndpoint,
String identityDomainName,
String userName,
String password) |
hudson.util.FormValidation |
doCheckApiEndpoint(String value) |
hudson.util.FormValidation |
doCheckCloudName(String value) |
hudson.util.FormValidation |
doCheckIdentityDomainName(String value) |
hudson.util.FormValidation |
doCheckUserName(String value) |
hudson.util.FormValidation |
doTestConnection(String apiEndpoint,
String identityDomainName,
String userName,
String password)
Test connection from configuration page.
|
String |
getDisplayName() |
static hudson.util.FormValidation |
toFormValidation(ComputeCloudClientException e) |
static hudson.util.FormValidation |
withContext(hudson.util.FormValidation fv,
String context) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMap
public static final String DISPLAY_NAME
public String getDisplayName()
getDisplayName
in class hudson.model.Descriptor<hudson.slaves.Cloud>
public hudson.util.FormValidation doCheckCloudName(@QueryParameter String value)
public static hudson.util.FormValidation withContext(hudson.util.FormValidation fv, String context)
public hudson.util.FormValidation doCheckApiEndpoint(@QueryParameter String value)
public hudson.util.FormValidation doCheckIdentityDomainName(@QueryParameter String value)
public hudson.util.FormValidation checkUserName(String value, boolean withContext)
public hudson.util.FormValidation doCheckUserName(@QueryParameter String value)
public ComputeCloudClient createClient(String apiEndpoint, String identityDomainName, String userName, String password) throws hudson.util.FormValidation
hudson.util.FormValidation
public static hudson.util.FormValidation toFormValidation(ComputeCloudClientException e)
public hudson.util.FormValidation doTestConnection(@QueryParameter String apiEndpoint, @QueryParameter String identityDomainName, @QueryParameter String userName, @QueryParameter String password)
apiEndpoint
- api endpointidentityDomainName
- identitiy domain nameuserName
- user namepassword
- passwordFormValidation
object containing the details about success or errorCopyright © 2016–2018. All rights reserved.