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
 
Fields inherited from class hudson.plugins.ec2.EC2Cloud
instanceCap
 
Fields inherited from class hudson.slaves.Cloud
ALL, name, PROVISION
 
Constructor Summary
AmazonEC2Cloud(AwsRegion region, java.lang.String accessId, java.lang.String secretKey, java.lang.String privateKey, java.lang.String instanceCapStr, java.util.List<SlaveTemplate> templates)
           
 
Method Summary
 java.net.URL getEc2EndpointUrl()
           
 AwsRegion getRegion()
           
 java.net.URL getS3EndpointUrl()
           
 
Methods inherited from class hudson.plugins.ec2.EC2Cloud
buildJets3tProperties, buildPresignedURL, canProvision, checkEndPoint, connect, connect, connect, connectS3, convertHostName, convertPort, convertS3HostName, 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
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
 

Constructor Detail

AmazonEC2Cloud

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

getRegion

public AwsRegion getRegion()

getEc2EndpointUrl

public java.net.URL getEc2EndpointUrl()
Specified by:
getEc2EndpointUrl in class EC2Cloud

getS3EndpointUrl

public java.net.URL getS3EndpointUrl()
Specified by:
getS3EndpointUrl in class EC2Cloud


Copyright © 2010. All Rights Reserved.