hudson.plugins.ec2
Class EC2Cloud.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.slaves.Cloud>
      extended by hudson.plugins.ec2.EC2Cloud.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Direct Known Subclasses:
AmazonEC2Cloud.DescriptorImpl, Eucalyptus.DescriptorImpl
Enclosing class:
EC2Cloud

public abstract static class EC2Cloud.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
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
EC2Cloud.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheckAccessId(java.lang.String value)
           
 hudson.util.FormValidation doCheckPrivateKey(java.lang.String value)
           
 hudson.util.FormValidation doCheckSecretKey(java.lang.String value)
           
 hudson.util.FormValidation doGenerateKey(org.kohsuke.stapler.StaplerResponse rsp, java.net.URL ec2EndpointUrl, java.lang.String accessId, java.lang.String secretKey)
           
protected  hudson.util.FormValidation doTestConnection(java.net.URL ec2endpoint, java.lang.String accessId, java.lang.String secretKey, java.lang.String privateKey)
           
 com.xerox.amazonws.ec2.InstanceType[] getInstanceTypes()
           
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getDisplayName, 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
 

Constructor Detail

EC2Cloud.DescriptorImpl

public EC2Cloud.DescriptorImpl()
Method Detail

getInstanceTypes

public com.xerox.amazonws.ec2.InstanceType[] getInstanceTypes()

doCheckAccessId

public hudson.util.FormValidation doCheckAccessId(@QueryParameter
                                                  java.lang.String value)
                                           throws java.io.IOException,
                                                  javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doCheckSecretKey

public hudson.util.FormValidation doCheckSecretKey(@QueryParameter
                                                   java.lang.String value)
                                            throws java.io.IOException,
                                                   javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doCheckPrivateKey

public hudson.util.FormValidation doCheckPrivateKey(@QueryParameter
                                                    java.lang.String value)
                                             throws java.io.IOException,
                                                    javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doTestConnection

protected hudson.util.FormValidation doTestConnection(java.net.URL ec2endpoint,
                                                      java.lang.String accessId,
                                                      java.lang.String secretKey,
                                                      java.lang.String privateKey)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

doGenerateKey

public hudson.util.FormValidation doGenerateKey(org.kohsuke.stapler.StaplerResponse rsp,
                                                java.net.URL ec2EndpointUrl,
                                                java.lang.String accessId,
                                                java.lang.String secretKey)
                                         throws java.io.IOException,
                                                javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.