org.kuali.maven.ec2
Class DescribeInstancesMojo

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

public class DescribeInstancesMojo
extends AbstractEC2Mojo

Connect to EC2 and list instances associated with this account


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DescribeInstancesMojo()
           
 
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.Instance> instances, EC2Utils ec2Utils)
           
protected  String getSecurityGroupsDisplay(com.amazonaws.services.ec2.model.Instance i)
           
protected  Table getTable(List<com.amazonaws.services.ec2.model.Instance> instances, 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

DescribeInstancesMojo

public DescribeInstancesMojo()
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)

getSecurityGroupsDisplay

protected String getSecurityGroupsDisplay(com.amazonaws.services.ec2.model.Instance i)

getRows

protected List<Row> getRows(List<com.amazonaws.services.ec2.model.Instance> instances,
                            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.Instance> instances,
                         EC2Utils ec2Utils)

getTag

public String getTag()

setTag

public void setTag(String displayTag)


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