org.kuali.maven.ec2
Class CreateSnapshotMojo

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

public class CreateSnapshotMojo
extends AbstractEC2Mojo

Create a snapshot of a volume. If successful, the project property ec2.snapshot.id will contain the id of the snapshot that was created.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CreateSnapshotMojo()
           
 
Method Summary
 void execute(EC2Utils ec2Utils)
           
 String getDescription()
           
 int getSleep()
           
 String getState()
           
 String getVolumeId()
           
 int getWaitTimeout()
           
protected  boolean isSkip()
           
 boolean isWait()
           
 void setDescription(String description)
           
 void setSleep(int sleep)
           
 void setState(String state)
           
 void setVolumeId(String volumeId)
           
 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

CreateSnapshotMojo

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

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)

getVolumeId

public String getVolumeId()

setVolumeId

public void setVolumeId(String volumeId)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getSleep

public int getSleep()

setSleep

public void setSleep(int sleep)


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