org.apache.torque.mojo
Class ExportDataMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.AntTaskMojo
org.apache.torque.mojo.ExportMojo
org.apache.torque.mojo.ExportDataMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExportDataMojo
- extends ExportMojo
Reads the content of tables from a database and exports the data in a database agnostic format to XML files.
Field Summary |
private File |
dataXMLDir
The directory where data XML files will be written |
private String |
dateFormat
The format to use for dates/timestamps |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.torque.mojo.ExportMojo |
getArtifactId, getComment, getDriver, getExcludes, getIncludes, getPassword, getSchema, getTargetDatabase, getUpdatedComment, getUrl, getUsername, isAntCompatibilityMode, isIncludeVersionInComment, setAntCompatibilityMode, setArtifactId, setComment, setDriver, setExcludes, setIncludes, setIncludeVersionInComment, setPassword, setSchema, setTargetDatabase, setUrl, setUsername |
Methods inherited from class org.apache.torque.mojo.BaseMojo |
afterExecution, beforeExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger, skipMojo |
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 |
dateFormat
private String dateFormat
- The format to use for dates/timestamps
dataXMLDir
private File dataXMLDir
- The directory where data XML files will be written
ExportDataMojo
public ExportDataMojo()
configureTask
protected void configureTask()
throws org.apache.maven.plugin.MojoExecutionException
- Configure the Ant task
- Overrides:
configureTask
in class ExportMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
makeOutputDir
protected void makeOutputDir()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getDataXMLDir
public File getDataXMLDir()
setDataXMLDir
public void setDataXMLDir(File outputDir)
getDateFormat
public String getDateFormat()
setDateFormat
public void setDateFormat(String dateFormat)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.