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.base.Supplier<com.amazonaws.services.s3.AmazonS3> awsS3Client
           
static String JAR_CACHE
           
protected static String S3
           
protected  com.google.common.base.Supplier<com.amazonaws.services.s3.transfer.TransferManager> transferManagerRef
           
 
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()
           
 
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

S3

protected static final String S3
See Also:
Constant Field Values

awsS3Client

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

transferManagerRef

protected final com.google.common.base.Supplier<com.amazonaws.services.s3.transfer.TransferManager> transferManagerRef
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

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.