Class Hypervisor.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<Cloud>
hudson.plugins.libvirt.Hypervisor.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
Hypervisor

@Extension public static final class Hypervisor.DescriptorImpl extends Descriptor<Cloud>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Cloud>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<Cloud>
      Throws:
      Descriptor.FormException
    • doFillCredentialsIdItems

      @POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String hypervisorType, @QueryParameter String hypervisorTransport, @QueryParameter String hypervisorHost, @QueryParameter String hypervisorSshPort, @QueryParameter String username, @QueryParameter String hypervisorSystemUrl, @QueryParameter String credentialsId)
    • doCheckCredentialsId

      @POST public FormValidation doCheckCredentialsId(@AncestorInPath Item item, @QueryParameter String hypervisorType, @QueryParameter String hypervisorTransport, @QueryParameter String hypervisorHost, @QueryParameter String hypervisorSshPort, @QueryParameter String username, @QueryParameter String hypervisorSystemUrl, @QueryParameter String credentialsId)
    • doTestConnection

      @POST public FormValidation doTestConnection(@QueryParameter String hypervisorType, @QueryParameter String hypervisorTransport, @QueryParameter String hypervisorHost, @QueryParameter String hypervisorSshPort, @QueryParameter String username, @QueryParameter String hypervisorSystemUrl, @QueryParameter String credentialsId) throws Exception, jakarta.servlet.ServletException
      Throws:
      Exception
      jakarta.servlet.ServletException
    • getHypervisorHost

      public String getHypervisorHost()
    • getHypervisorSshPort

      public int getHypervisorSshPort()
    • getHypervisorSystemUrl

      public String getHypervisorSystemUrl()
    • getHypervisorType

      public String getHypervisorType()
    • getHypervisorTransport

      public String getHypervisorTransport()
    • getUsername

      public String getUsername()
    • getHypervisorTypes

      public List<String> getHypervisorTypes()
    • getHypervisorTransports

      public List<String> getHypervisorTransports()