org.codehaus.mojo.hibernate3.exporter
Class Hbm2DDLExporterMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.hibernate3.HibernateExporterMojo
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo, ExporterMojo
public class Hbm2DDLExporterMojo
- extends HibernateExporterMojo
Generates database schema.
- Version:
- $Id: Hbm2DDLExporterMojo.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Johann Reyes
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected org.hibernate.tool.hbm2x.Exporter |
createExporter()
This method is not to be used. |
protected void |
doExecute()
Overrides the default implementation of executing this goal. |
String |
getName()
Returns hbm2ddl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hbm2DDLExporterMojo
public Hbm2DDLExporterMojo()
- Default constructor.
getName
public String getName()
- Returns hbm2ddl.
- Returns:
- String goal's name
createExporter
protected org.hibernate.tool.hbm2x.Exporter createExporter()
- This method is not to be used.
- Specified by:
createExporter
in class HibernateExporterMojo
- Returns:
- throws IllegalStateException
doExecute
protected void doExecute()
throws MojoExecutionException
- Overrides the default implementation of executing this goal.
- Overrides:
doExecute
in class HibernateExporterMojo
- Throws:
MojoExecutionException
- if there is an error executing the goal
Copyright © 2005-2010 Codehaus. All Rights Reserved.