hudson.plugins.libvirt
Class Hypervisor.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.slaves.Cloud>
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 java.util.concurrent.ConcurrentMap<java.lang.String,Hypervisor> hypervisors
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
Hypervisor.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject o)
           
 hudson.util.FormValidation doTestConnection(java.lang.String hypervisorType, java.lang.String hypervisorHost, java.lang.String hypervisorSshPort, java.lang.String username, java.lang.String hypervisorSystemUrl)
           
 java.lang.String getDisplayName()
           
 java.lang.String getHypervisorHost()
           
 int getHypervisorSshPort()
           
 java.lang.String getHypervisorSystemUrl()
           
 java.lang.String getHypervisorType()
           
 java.util.List<java.lang.String> getHypervisorTypes()
           
 java.lang.String getUsername()
           
 
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
 

Field Detail

hypervisors

public final java.util.concurrent.ConcurrentMap<java.lang.String,Hypervisor> hypervisors
Constructor Detail

Hypervisor.DescriptorImpl

public Hypervisor.DescriptorImpl()
Method Detail

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 Byte-Code. All Rights Reserved.