com.atlassian.bamboo.maven.plugins.aws
Class Ec2RunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.bamboo.maven.plugins.aws.AbstractImageRebuildMojo
com.atlassian.bamboo.maven.plugins.aws.Ec2RunMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class Ec2RunMojo
- 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
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
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
Ec2RunMojo
public Ec2RunMojo()
executeMojo
public void executeMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
executeMojo in class AbstractImageRebuildMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
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.