org.kuali.maven.ec2
Class TerminateInstanceMojo

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

public class TerminateInstanceMojo
extends AbstractEC2Mojo

Connect to EC2 and terminate the indicated instance.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TerminateInstanceMojo()
           
 
Method Summary
 void execute(EC2Utils ec2Utils)
           
 String getInstanceId()
           
 String getState()
           
 int getWaitTimeout()
           
protected  boolean isSkip()
           
 boolean isWait()
           
 void setInstanceId(String id)
           
 void setState(String state)
           
 void setWait(boolean wait)
           
 void setWaitTimeout(int waitTimeout)
           
 
Methods inherited from class org.kuali.maven.ec2.AbstractEC2Mojo
execute, getAccessKey, getProject, getSecretKey, getTags, 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

TerminateInstanceMojo

public TerminateInstanceMojo()
Method Detail

isSkip

protected boolean isSkip()
Overrides:
isSkip in class AbstractEC2Mojo

execute

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

getInstanceId

public String getInstanceId()

setInstanceId

public void setInstanceId(String id)

isWait

public boolean isWait()

setWait

public void setWait(boolean wait)

getWaitTimeout

public int getWaitTimeout()

setWaitTimeout

public void setWaitTimeout(int waitTimeout)

getState

public String getState()

setState

public void setState(String state)


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