Package org.codehaus.mojo.cassandra
Class LoadCassandraUnitDataSetMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.AbstractCassandraMojo
org.codehaus.mojo.cassandra.LoadCassandraUnitDataSetMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="cu-load",
threadSafe=true,
defaultPhase=PRE_INTEGRATION_TEST)
public class LoadCassandraUnitDataSetMojo
extends AbstractCassandraMojo
Loads a CassandraUnit DataSet into a Cassandra instance.
- Since:
- 1.2.1-2
- Author:
- jsevellec
-
Field Summary
FieldsFields inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
addMainClasspath, addTestClasspath, cassandraDir, jmxPort, keyspace, listenAddress, logLevel, maxMemory, nativeTransportPort, project, rpcAddress, rpcPort, session, skip, startNativeTransport, stopKey, stopPort, storagePort, systemPropertyVariablesFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
createCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11OptionsMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
cuDataSet
The CassandraUnit dataSet to load.
-
-
Constructor Details
-
LoadCassandraUnitDataSetMojo
public LoadCassandraUnitDataSetMojo()
-
-
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
-