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

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.Ec2SshMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class Ec2SshMojo
extends AbstractImageRebuildMojo


Field Summary
protected  com.atlassian.util.concurrent.LazyReference<com.amazonaws.services.s3.AmazonS3> awsS3Client
           
 
Fields inherited from class com.atlassian.bamboo.maven.plugins.aws.AbstractImageRebuildMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Ec2SshMojo()
           
 
Method Summary
protected  com.amazonaws.services.ec2.model.DescribeInstancesResult describeInstances(java.util.List<java.lang.String> instanceIds)
           
 void executeMojo()
           
 
Methods inherited from class com.atlassian.bamboo.maven.plugins.aws.AbstractImageRebuildMojo
execute, getRegion
 
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

awsS3Client

protected final com.atlassian.util.concurrent.LazyReference<com.amazonaws.services.s3.AmazonS3> awsS3Client
Constructor Detail

Ec2SshMojo

public Ec2SshMojo()
Method Detail

executeMojo

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

describeInstances

@NotNull
protected com.amazonaws.services.ec2.model.DescribeInstancesResult describeInstances(@NotNull
                                                                                             java.util.List<java.lang.String> instanceIds)
                                                                              throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2013 Atlassian. All Rights Reserved.