org.kuali.maven.ec2
Class DescribeImagesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.kuali.maven.ec2.AbstractEC2Mojo
          extended by org.kuali.maven.ec2.DescribeImagesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DescribeImagesMojo
extends AbstractEC2Mojo

Connect to EC2 and list image associated with this account


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DescribeImagesMojo()
           
 
Method Summary
 void execute(EC2Utils ec2Utils)
           
protected  List<Column> getColumns(List<Row> rows)
           
protected  String getDisplay(List<Column> columns)
           
protected  String getDisplay(Table table, Row row)
           
protected  List<Row> getRows(List<com.amazonaws.services.ec2.model.Image> images, EC2Utils ec2Utils)
           
protected  Table getTable(List<com.amazonaws.services.ec2.model.Image> images, EC2Utils ec2Utils)
           
 String getTag()
           
 void setTag(String displayTag)
           
protected  void setWidths(List<Column> columns, List<Row> rows)
           
 
Methods inherited from class org.kuali.maven.ec2.AbstractEC2Mojo
execute, getAccessKey, getProject, getSecretKey, getTags, isSkip, setAccessKey, setSecretKey, setTags
 
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
 

Constructor Detail

DescribeImagesMojo

public DescribeImagesMojo()
Method Detail

execute

public void execute(EC2Utils ec2Utils)
             throws org.apache.maven.plugin.MojoExecutionException
Specified by:
execute in class AbstractEC2Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getDisplay

protected String getDisplay(List<Column> columns)

getDisplay

protected String getDisplay(Table table,
                            Row row)

getRows

protected List<Row> getRows(List<com.amazonaws.services.ec2.model.Image> images,
                            EC2Utils ec2Utils)

getColumns

protected List<Column> getColumns(List<Row> rows)

setWidths

protected void setWidths(List<Column> columns,
                         List<Row> rows)

getTable

protected Table getTable(List<com.amazonaws.services.ec2.model.Image> images,
                         EC2Utils ec2Utils)

getTag

public String getTag()

setTag

public void setTag(String displayTag)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.