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
Fields Modifier and Type Field Description protected int
nativeTransportPort
port for the CQL native transport to listen for clients on.protected String
stopKey
Key to provide when stopping cassandraprotected int
stopPort
Port to send stop command over
-
Constructor Summary
Constructors Constructor Description StopCassandraClusterMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
stopPort
@Parameter(property="cassandra.stopPort", defaultValue="8081", required=true) protected int stopPort
Port to send stop command over
-
stopKey
@Parameter(property="cassandra.stopKey", defaultValue="cassandra-maven-plugin", required=true) protected String stopKey
Key to provide when stopping cassandra
-
nativeTransportPort
@Parameter(property="cassandra.nativeTransportPort", defaultValue="9042") protected int nativeTransportPort
port for the CQL native transport to listen for clients on.
-
-