org.kuali.maven.ec2
Class DescribeInstancesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kuali.maven.ec2.AbstractEC2Mojo
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
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 |
DescribeInstancesMojo
public DescribeInstancesMojo()
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.