hudson.plugins.ec2
Class AmazonEC2Cloud

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.slaves.Cloud
          extended by hudson.plugins.ec2.EC2Cloud
              extended by hudson.plugins.ec2.AmazonEC2Cloud
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.Cloud>, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, hudson.security.AccessControlled

public class AmazonEC2Cloud
extends EC2Cloud

The original implementation of EC2Cloud.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class AmazonEC2Cloud.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static boolean testMode
           
 
Fields inherited from class hudson.plugins.ec2.EC2Cloud
DEFAULT_EC2_HOST, EC2_URL_HOST, instanceCap
 
Fields inherited from class hudson.slaves.Cloud
ALL, name, PROVISION
 
Constructor Summary
AmazonEC2Cloud(String accessId, String secretKey, String region, String privateKey, String instanceCapStr, List<SlaveTemplate> templates)
           
 
Method Summary
 URL getEc2EndpointUrl()
           
static URL getEc2EndpointUrl(String region)
           
 String getRegion()
           
 URL getS3EndpointUrl()
           
 
Methods inherited from class hudson.plugins.ec2.EC2Cloud
buildPresignedURL, canProvision, checkEndPoint, connect, connect, connect, convertHostName, convertPort, countCurrentEC2Slaves, doAttach, doProvision, get, getAccessId, getInstanceCapStr, getKeyPair, getPrivateKey, getSecretKey, getTemplate, getTemplate, getTemplates, provision, readResolve
 
Methods inherited from class hudson.slaves.Cloud
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermission
 
Methods inherited from class hudson.model.AbstractModelObject
getConfiguredHudsonProperty, getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testMode

public static boolean testMode
Constructor Detail

AmazonEC2Cloud

@DataBoundConstructor
public AmazonEC2Cloud(String accessId,
                                           String secretKey,
                                           String region,
                                           String privateKey,
                                           String instanceCapStr,
                                           List<SlaveTemplate> templates)
Method Detail

getRegion

public String getRegion()

getEc2EndpointUrl

public static URL getEc2EndpointUrl(String region)

getEc2EndpointUrl

public URL getEc2EndpointUrl()
Specified by:
getEc2EndpointUrl in class EC2Cloud

getS3EndpointUrl

public URL getS3EndpointUrl()
Specified by:
getS3EndpointUrl in class EC2Cloud


Copyright © 2004-2012 Hudson. All Rights Reserved.