org.kuali.maven.ec2
Class AbstractEC2Mojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kuali.maven.ec2.AbstractEC2Mojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- DescribeInstancesMojo, LaunchMojo, TerminateMojo
public abstract class AbstractEC2Mojo
- extends org.apache.maven.plugin.AbstractMojo
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
AbstractEC2Mojo
public AbstractEC2Mojo()
getCredentials
protected com.amazonaws.auth.AWSCredentials getCredentials()
getEC2Client
protected com.amazonaws.services.ec2.AmazonEC2 getEC2Client()
getTagValue
protected String getTagValue(com.amazonaws.services.ec2.model.Instance i,
String tag)
getInstance
protected com.amazonaws.services.ec2.model.Instance getInstance(com.amazonaws.services.ec2.AmazonEC2 client,
String instanceId)
isEmpty
protected boolean isEmpty(Collection<?> c)
waitForState
protected void waitForState(com.amazonaws.services.ec2.AmazonEC2 client,
String instanceId,
String state,
int waitTimeout)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
sleep
protected void sleep(int millis)
getAccessKey
public String getAccessKey()
setAccessKey
public void setAccessKey(String accessKey)
getSecretKey
public String getSecretKey()
setSecretKey
public void setSecretKey(String secretKey)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.