Package org.jenkinsci.plugins.vsphere
Class VSphereConnectionConfig.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<VSphereConnectionConfig>
org.jenkinsci.plugins.vsphere.VSphereConnectionConfig.DescriptorImpl
- Enclosing class:
VSphereConnectionConfig
@Extension
public static class VSphereConnectionConfig.DescriptorImpl
extends Descriptor<VSphereConnectionConfig>
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckAllowUntrustedCertificate(boolean value) doCheckCredentialsId(com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, String vsHost, String value) doCheckVsHost(String value) doFillCredentialsIdItems(com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, String vsHost) doTestConnection(com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, String vsHost, boolean allowUntrustedCertificate, String credentialsId) For UI.static com.cloudbees.plugins.credentials.common.StandardCredentialslookupCredentials(String credentialsId, String vsHost) Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<VSphereConnectionConfig>
-
doCheckVsHost
-
doCheckAllowUntrustedCertificate
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, @QueryParameter String vsHost) -
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@AncestorInPath com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, @QueryParameter String vsHost, @QueryParameter String value) -
doTestConnection
public FormValidation doTestConnection(@AncestorInPath com.cloudbees.hudson.plugins.folder.AbstractFolder<?> containingFolderOrNull, @QueryParameter String vsHost, @QueryParameter boolean allowUntrustedCertificate, @QueryParameter String credentialsId) For UI.- Parameters:
vsHost- From UI.credentialsId- From UI.- Returns:
- Result of the validation.
-
lookupCredentials
-