Package org.codehaus.mojo.cassandra
Class AbstractSchemaCassandraMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- org.codehaus.mojo.cassandra.AbstractCassandraMojo
- 
- org.codehaus.mojo.cassandra.AbstractSchemaCassandraMojo
 
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 - Direct Known Subclasses:
- DropColumnFamiliesMojo
 
 public abstract class AbstractSchemaCassandraMojo extends AbstractCassandraMojo Some general operations and contract for Mojo implementations that will interact with the system_* API methods. Manages the Cql connection and delegates to executeOperation on the implementation. Implementations must still implement the execute method of the parent Mojo.- Author:
- zznate
 
- 
- 
Field Summary- 
Fields inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojoaddMainClasspath, addTestClasspath, cassandraDir, jmxPort, keyspace, listenAddress, logLevel, maxMemory, nativeTransportPort, project, rpcAddress, session, skip, startNativeTransport, stopKey, stopPort, storagePort, systemPropertyVariables
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractSchemaCassandraMojo()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract CqlOperationbuildOperation()voidexecute()Parses the arguments then callsprotected abstract voidparseArguments()- 
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojocreateCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11Options
 
- 
 
- 
- 
- 
Method Detail- 
parseArgumentsprotected abstract void parseArguments() throws IllegalArgumentException- Throws:
- IllegalArgumentException
 
 - 
buildOperationprotected abstract CqlOperation buildOperation() 
 - 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionParses the arguments then calls- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
 
- 
 
-