hudson.plugins.ec2
Class SlaveTemplate.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<SlaveTemplate>
      extended by hudson.plugins.ec2.SlaveTemplate.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
SlaveTemplate

@Extension
public static final class SlaveTemplate.DescriptorImpl
extends hudson.model.Descriptor<SlaveTemplate>


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
SlaveTemplate.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doValidateAmi(java.lang.String accessId, java.lang.String secretKey, java.lang.String ec2EndpointUrl, java.lang.String ami)
          Check that the AMI requested is available in the cloud and can be used.
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile(java.lang.String fieldName)
          Since this shares much of the configuration with EC2Computer, check its help page, too.
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, 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

SlaveTemplate.DescriptorImpl

public SlaveTemplate.DescriptorImpl()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<SlaveTemplate>

getHelpFile

public java.lang.String getHelpFile(java.lang.String fieldName)
Since this shares much of the configuration with EC2Computer, check its help page, too.

Overrides:
getHelpFile in class hudson.model.Descriptor<SlaveTemplate>

doValidateAmi

public hudson.util.FormValidation doValidateAmi(@QueryParameter
                                                java.lang.String accessId,
                                                @QueryParameter
                                                java.lang.String secretKey,
                                                @QueryParameter
                                                java.lang.String ec2EndpointUrl,
                                                @QueryParameter
                                                java.lang.String ami)
                                         throws java.io.IOException,
                                                javax.servlet.ServletException
Check that the AMI requested is available in the cloud and can be used.

Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.