Package org.codehaus.mojo.cassandra
Class StopCassandraClusterMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.StopCassandraClusterMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="stop-cluster",
threadSafe=true,
defaultPhase=POST_INTEGRATION_TEST)
public class StopCassandraClusterMojo
extends org.apache.maven.plugin.AbstractMojo
Stops a background Cassandra instance.
- Author:
- stephenc
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intPort to listen to for the RPC interface.protected StringKey to provide when stopping cassandraprotected intPort to send stop command overFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
stopPort
@Parameter(property="cassandra.stopPort", defaultValue="8081", required=true) protected int stopPortPort to send stop command over -
stopKey
@Parameter(property="cassandra.stopKey", defaultValue="cassandra-maven-plugin", required=true) protected String stopKeyKey to provide when stopping cassandra -
rpcPort
@Parameter(property="cassandra.rpcPort", defaultValue="9160") protected int rpcPortPort to listen to for the RPC interface.
-
-
Constructor Details
-
StopCassandraClusterMojo
public StopCassandraClusterMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-