|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.TexenTaskMojo
org.apache.torque.mojo.DataModelTaskMojo
org.apache.torque.mojo.DataSqlMojo
public class DataSqlMojo
Generates SQL for populating the database from data.xml files.
| Field Summary |
|---|
| Fields inherited from class org.apache.torque.mojo.DataModelTaskMojo |
|---|
TARGET_DATABASE_CONTEXT_PROPERTY |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DataSqlMojo()
Creates a new SQLMojo object. |
|
| Method Summary | |
|---|---|
protected void |
configureTask()
Configures the Texen task which is wrapped by this mojo. |
protected String |
getControlTemplate()
Returns the path to the control template. |
String |
getDataDtd()
Returns the data dtd file for the data xml file. |
String |
getDataXmlFile()
Returns the data xml file which should be processed. |
protected org.apache.commons.configuration.PropertiesConfiguration |
getMojoContextProperties()
Returns the context properties for the Texen task. |
void |
setDataDtd(String dataDtd)
Sets the data dtd file for the data xml file. |
void |
setDataXmlFile(String dataXmlFile)
Sets the data xml file which should be processed. |
| Methods inherited from class org.apache.torque.mojo.DataModelTaskMojo |
|---|
execute, getReportFile, getSchemaDir, getSchemaExcludes, getSchemaIncludes, getSqlDbMap, getTargetDatabase, getTargetPackage, isRunOnlyOnSchemaChange, schemaChanged, setReportFile, setRunOnlyOnSchemaChange, setSchemaDir, setSchemaExcludes, setSchemaIncludes, setSqlDbMap, setTargetDatabase, setTargetPackage |
| Methods inherited from class org.apache.torque.mojo.TexenTaskMojo |
|---|
generateContextProperties, getAntProject, getContextPropertiesPath, getGeneratorTask, getOutputDir, getProject, getTemplatePath, getUseClasspath, getUserContextProperties, setContextPropertiesPath, setGeneratorTask, setOutputDir, setProject, setTemplatePath, setUseClasspath, setUserContextProperties |
| 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 |
|---|
public DataSqlMojo()
| Method Detail |
|---|
protected org.apache.commons.configuration.PropertiesConfiguration getMojoContextProperties()
getMojoContextProperties in class TexenTaskMojo
protected void configureTask()
throws org.apache.maven.plugin.MojoExecutionException
configureTask in class DataModelTaskMojoorg.apache.maven.plugin.MojoExecutionException - if an error occurs when setting the Tasks
properties.DataModelTaskMojo.configureTask()protected String getControlTemplate()
getControlTemplate in class DataModelTaskMojopublic String getDataDtd()
public void setDataDtd(String dataDtd)
dataDtd - the data dtd file for the data xml file.public String getDataXmlFile()
public void setDataXmlFile(String dataXmlFile)
dataXmlFile - the data xml file which should be processed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||