org.codehaus.mojo.jpox
Class JpoxSchemaValidateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.jpox.AbstractJpoxMojo
          extended by org.codehaus.mojo.jpox.AbstractJpoxSchemaMojo
              extended by org.codehaus.mojo.jpox.JpoxSchemaValidateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JpoxSchemaValidateMojo
extends AbstractJpoxSchemaMojo

Validates all database tables required for a set of JDO MetaData files (and classes) for correct structure.

The output is written to console/terminal.

Author:
Rahul Thakur

Field Summary
 
Fields inherited from class org.codehaus.mojo.jpox.AbstractJpoxMojo
classes, pluginArtifacts
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JpoxSchemaValidateMojo()
           
 
Method Summary
protected  void prepareModeSpecificCommandLineArguments(org.codehaus.plexus.util.cli.Commandline cl)
          Template method that sets up arguments for the SchemaTool depending upon the mode invoked.
 
Methods inherited from class org.codehaus.mojo.jpox.AbstractJpoxSchemaMojo
executeJpoxTool, getToolName
 
Methods inherited from class org.codehaus.mojo.jpox.AbstractJpoxMojo
execute, findMappingFiles, getUniqueClasspathElements
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpoxSchemaValidateMojo

public JpoxSchemaValidateMojo()
Method Detail

prepareModeSpecificCommandLineArguments

protected void prepareModeSpecificCommandLineArguments(org.codehaus.plexus.util.cli.Commandline cl)
Template method that sets up arguments for the SchemaTool depending upon the mode invoked.

This is expected to be implemented by extensions.

Specified by:
prepareModeSpecificCommandLineArguments in class AbstractJpoxSchemaMojo
Parameters:
cl - Commandline instance to set up arguments for.
See Also:
AbstractJpoxSchemaMojo.prepareModeSpecificCommandLineArguments(org.codehaus.plexus.util.cli.Commandline)


Copyright © 2012 Codehaus. All Rights Reserved.