org.kuali.maven.ec2
Class RegisterImageMojo

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

public class RegisterImageMojo
extends AbstractEC2Mojo

Register an Amazon machine image (AMI)


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RegisterImageMojo()
           
 
Method Summary
 void execute(EC2Utils ec2Utils)
           
 List<com.amazonaws.services.ec2.model.BlockDeviceMapping> getBlockDeviceMappings()
           
 com.amazonaws.services.ec2.model.RegisterImageRequest getImage()
           
 String getState()
           
 List<com.amazonaws.services.ec2.model.Tag> getTags()
           
 int getWaitTimeout()
           
 boolean isWait()
           
 void setBlockDeviceMappings(List<com.amazonaws.services.ec2.model.BlockDeviceMapping> blockDeviceMappings)
           
 void setImage(com.amazonaws.services.ec2.model.RegisterImageRequest image)
           
 void setState(String state)
           
 void setTags(List<com.amazonaws.services.ec2.model.Tag> tags)
           
 void setWait(boolean wait)
           
 void setWaitTimeout(int waitTimeout)
           
 
Methods inherited from class org.kuali.maven.ec2.AbstractEC2Mojo
execute, getAccessKey, getProject, getSecretKey, isSkip, setAccessKey, setSecretKey
 
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

RegisterImageMojo

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

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)

getImage

public com.amazonaws.services.ec2.model.RegisterImageRequest getImage()

setImage

public void setImage(com.amazonaws.services.ec2.model.RegisterImageRequest image)

getBlockDeviceMappings

public List<com.amazonaws.services.ec2.model.BlockDeviceMapping> getBlockDeviceMappings()

setBlockDeviceMappings

public void setBlockDeviceMappings(List<com.amazonaws.services.ec2.model.BlockDeviceMapping> blockDeviceMappings)

getTags

public List<com.amazonaws.services.ec2.model.Tag> getTags()
Overrides:
getTags in class AbstractEC2Mojo

setTags

public void setTags(List<com.amazonaws.services.ec2.model.Tag> tags)
Overrides:
setTags in class AbstractEC2Mojo


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