org.appfuse.mojo.exporter
Class AppFuseGenerateCoreMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.appfuse.mojo.HibernateExporterMojo
org.appfuse.mojo.exporter.AppFuseGeneratorMojo
org.appfuse.mojo.exporter.AppFuseGenerateCoreMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.mojo.hibernate3.ExporterMojo
public class AppFuseGenerateCoreMojo
- extends AppFuseGeneratorMojo
Generates Java classes and tests for DAOs and Managers from set of annotated POJOs.
- Author:
- Matt Raible
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
protected org.hibernate.tool.hbm2x.Exporter |
configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
Configures the Exporter. |
String |
getName()
Returns gen-core. |
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
getLog, setLog |
AppFuseGenerateCoreMojo
public AppFuseGenerateCoreMojo()
getName
public String getName()
- Returns gen-core.
- Specified by:
getName in interface org.codehaus.mojo.hibernate3.ExporterMojo- Overrides:
getName in class AppFuseGeneratorMojo
- Returns:
- String goal's name
configureExporter
protected org.hibernate.tool.hbm2x.Exporter configureExporter(org.hibernate.tool.hbm2x.Exporter exp)
throws org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
HibernateExporterMojo
- Configures the Exporter.
- Overrides:
configureExporter in class AppFuseGeneratorMojo
- Parameters:
exp - Exporter to configure
- Returns:
- Exporter
- Throws:
org.apache.maven.plugin.MojoExecutionException - if there is an error configuring the exporter- See Also:
HibernateExporterMojo.configureExporter(org.hibernate.tool.hbm2x.Exporter)
Copyright © 2003-2012. All Rights Reserved.