Class VSphereConnectionConfig.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<VSphereConnectionConfig>
org.jenkinsci.plugins.vsphere.VSphereConnectionConfig.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
VSphereConnectionConfig

@Extension public static class VSphereConnectionConfig.DescriptorImpl extends Descriptor<VSphereConnectionConfig>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<VSphereConnectionConfig>
    • doCheckVsHost

      public FormValidation doCheckVsHost(@QueryParameter String value)
    • doCheckAllowUntrustedCertificate

      public FormValidation doCheckAllowUntrustedCertificate(@QueryParameter boolean value)
    • 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

      @CheckForNull public static com.cloudbees.plugins.credentials.common.StandardCredentials lookupCredentials(@CheckForNull String credentialsId, @NonNull String vsHost)