Package hudson.plugins.libvirt
Class Hypervisor.DescriptorImpl
- Enclosing class:
- Hypervisor
-
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 TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) doCheckCredentialsId
(Item item, String hypervisorType, String hypervisorTransport, String hypervisorHost, String hypervisorSshPort, String username, String hypervisorSystemUrl, String credentialsId) doFillCredentialsIdItems
(Item context, String hypervisorType, String hypervisorTransport, String hypervisorHost, String hypervisorSshPort, String username, String hypervisorSystemUrl, String credentialsId) doTestConnection
(String hypervisorType, String hypervisorTransport, String hypervisorHost, String hypervisorSshPort, String username, String hypervisorSystemUrl, String credentialsId) int
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, 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:
getDisplayName
in classDescriptor<Cloud>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject o) throws Descriptor.FormException - Overrides:
configure
in classDescriptor<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
-
getHypervisorSshPort
public int getHypervisorSshPort() -
getHypervisorSystemUrl
-
getHypervisorType
-
getHypervisorTransport
-
getUsername
-
getHypervisorTypes
-
getHypervisorTransports
-