@Mojo(name="stop-cluster",
threadSafe=true,
defaultPhase=POST_INTEGRATION_TEST)
public class StopCassandraClusterMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected int |
rpcPort
Port to listen to for the RPC interface.
|
protected String |
stopKey
Key to provide when stopping cassandra
|
protected int |
stopPort
Port to send stop command over
|
| Constructor and Description |
|---|
StopCassandraClusterMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(property="cassandra.stopPort",
defaultValue="8081",
required=true)
protected int stopPort
@Parameter(property="cassandra.stopKey",
defaultValue="cassandra-maven-plugin",
required=true)
protected String stopKey
@Parameter(property="cassandra.rpcPort",
defaultValue="9160")
protected int rpcPort
Copyright © 2011–2022 MojoHaus. All rights reserved.