hudson.plugins.libvirt
Class Hypervisor.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<hudson.slaves.Cloud>
hudson.plugins.libvirt.Hypervisor.DescriptorImpl
- All Implemented Interfaces:
- hudson.model.Saveable
- Enclosing class:
- Hypervisor
@Extension
public static final class Hypervisor.DescriptorImpl
- extends hudson.model.Descriptor<hudson.slaves.Cloud>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
clazz |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.model.Descriptor |
configure, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hypervisors
public final java.util.concurrent.ConcurrentMap<java.lang.String,Hypervisor> hypervisors
Hypervisor.DescriptorImpl
public Hypervisor.DescriptorImpl()
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.slaves.Cloud>
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject o)
throws hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.model.Descriptor<hudson.slaves.Cloud>
- Throws:
hudson.model.Descriptor.FormException
doTestConnection
public hudson.util.FormValidation doTestConnection(@QueryParameter
java.lang.String hypervisorType,
@QueryParameter
java.lang.String hypervisorHost,
@QueryParameter
java.lang.String hypervisorSshPort,
@QueryParameter
java.lang.String username,
@QueryParameter
java.lang.String hypervisorSystemUrl)
throws java.lang.Exception,
javax.servlet.ServletException
- Throws:
java.lang.Exception
javax.servlet.ServletException
getHypervisorHost
public java.lang.String getHypervisorHost()
getHypervisorSshPort
public int getHypervisorSshPort()
getHypervisorSystemUrl
public java.lang.String getHypervisorSystemUrl()
getHypervisorType
public java.lang.String getHypervisorType()
getUsername
public java.lang.String getUsername()
getHypervisorTypes
public java.util.List<java.lang.String> getHypervisorTypes()
Copyright © 2010. All Rights Reserved.