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

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

public class Ec2KillMojo
extends org.apache.maven.plugin.AbstractMojo


Field Summary
protected  com.atlassian.util.concurrent.LazyReference<com.amazonaws.services.s3.AmazonS3> awsS3Client
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Ec2KillMojo()
           
 
Method Summary
protected  com.amazonaws.services.ec2.model.DescribeInstancesResult describeInstances(java.util.List<java.lang.String> instanceIds)
           
 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

awsS3Client

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

Ec2KillMojo

public Ec2KillMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

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 © 2011 Atlassian Pty Ltd. All Rights Reserved.