com.atlassian.bamboo.maven.plugins.aws
Class S3UploadMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.bamboo.maven.plugins.aws.S3UploadMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class S3UploadMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  com.google.common.cache.LoadingCache<com.amazonaws.regions.Region,com.amazonaws.services.s3.AmazonS3> awsRegionalS3Client
           
protected  com.google.common.base.Supplier<com.amazonaws.services.s3.AmazonS3> awsS3Client
           
static String JAR_CACHE
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
S3UploadMojo()
           
 
Method Summary
protected  List<com.amazonaws.services.ec2.model.Reservation> describeInstances(Iterable<InstanceListDao.InstanceWithRegion> instances)
           
 void execute()
           
protected  com.amazonaws.services.s3.AmazonS3 getNewS3Client(com.amazonaws.regions.Region region)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAR_CACHE

public static final String JAR_CACHE
See Also:
Constant Field Values

awsRegionalS3Client

protected final com.google.common.cache.LoadingCache<com.amazonaws.regions.Region,com.amazonaws.services.s3.AmazonS3> awsRegionalS3Client

awsS3Client

protected final com.google.common.base.Supplier<com.amazonaws.services.s3.AmazonS3> awsS3Client
Constructor Detail

S3UploadMojo

public S3UploadMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getNewS3Client

protected com.amazonaws.services.s3.AmazonS3 getNewS3Client(com.amazonaws.regions.Region region)

describeInstances

@NotNull
protected List<com.amazonaws.services.ec2.model.Reservation> describeInstances(@NotNull
                                                                                       Iterable<InstanceListDao.InstanceWithRegion> instances)
                                                                        throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2015 Atlassian. All rights reserved.