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

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

public class Ec2CreateImageMojo
extends AbstractImageRebuildMojo


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
           
protected  com.google.common.base.Supplier<com.amazonaws.services.s3.transfer.TransferManager> transferManagerRef
           
 
Fields inherited from class com.atlassian.bamboo.maven.plugins.aws.AbstractImageRebuildMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Ec2CreateImageMojo()
           
 
Method Summary
protected  List<com.amazonaws.services.ec2.model.Reservation> describeInstances(Iterable<InstanceListDao.InstanceWithRegion> instances)
           
 void executeMojo()
           
 
Methods inherited from class com.atlassian.bamboo.maven.plugins.aws.AbstractImageRebuildMojo
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

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

transferManagerRef

protected final com.google.common.base.Supplier<com.amazonaws.services.s3.transfer.TransferManager> transferManagerRef
Constructor Detail

Ec2CreateImageMojo

public Ec2CreateImageMojo()
Method Detail

executeMojo

public void executeMojo()
                 throws org.apache.maven.plugin.MojoExecutionException
Specified by:
executeMojo in class AbstractImageRebuildMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

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.