Class DeleteCassandraMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.DeleteCassandraMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="delete", threadSafe=true) public class DeleteCassandraMojo extends org.apache.maven.plugin.AbstractMojo
Deletes the Cassandra home directory that we create for running Cassandra.
Author:
stephenc
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    protected File
    The directory to hold cassandra's database.
    protected boolean
    Fail execution in case of error.

    Fields inherited from interface org.apache.maven.plugin.Mojo Link icon

    ROLE
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void

    Methods inherited from class org.apache.maven.plugin.AbstractMojo Link icon

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • cassandraDir Link icon

      @Parameter(defaultValue="${project.build.directory}/cassandra") protected File cassandraDir
      The directory to hold cassandra's database.
    • failOnError Link icon

      @Parameter(property="cassandra.failOnError", defaultValue="true") protected boolean failOnError
      Fail execution in case of error.
      Since:
      2.0.0-1
  • Constructor Details Link icon

    • DeleteCassandraMojo Link icon

      public DeleteCassandraMojo()
  • Method Details Link icon

    • execute Link icon

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException