Class 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
    • Constructor Detail

      • AbstractSchemaCassandraMojo

        public AbstractSchemaCassandraMojo()
    • Method Detail

      • buildOperation

        protected abstract CqlOperation buildOperation()
      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Parses the arguments then calls
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException