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.AbstractMojoStops a background Cassandra instance.- Author:
- stephenc
-
-
Field Summary
Fields Modifier and Type Field Description protected intnativeTransportPortport for the CQL native transport to listen for clients on.protected StringstopKeyKey to provide when stopping cassandraprotected intstopPortPort to send stop command over
-
Constructor Summary
Constructors Constructor Description StopCassandraClusterMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
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
-
nativeTransportPort
@Parameter(property="cassandra.nativeTransportPort", defaultValue="9042") protected int nativeTransportPortport for the CQL native transport to listen for clients on.
-
-