com.atlassian.bamboo.maven.plugins.aws
Class SetupBucketsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.atlassian.bamboo.maven.plugins.aws.SetupBucketsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class SetupBucketsMojo
- 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
|
| 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
SetupBucketsMojo
public SetupBucketsMojo()
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.