org.apache.torque.mojo
Class ExportDataMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by org.apache.torque.mojo.AntTaskMojo
              extended by org.apache.torque.mojo.ExportMojo
                  extended by 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 class org.apache.torque.mojo.BaseMojo
FS, SKIP_PACKAGING_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExportDataMojo()
           
 
Method Summary
protected  void configureTask()
          Configure the Ant task
 File getDataXMLDir()
           
 String getDateFormat()
           
protected  void makeOutputDir()
           
 void setDataXMLDir(File outputDir)
           
 void setDateFormat(String dateFormat)
           
 
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.AntTaskMojo
executeMojo, getAntProject, getAntTask, getIniatializedAntProject, setAntProject, setAntTask
 
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
 

Field Detail

dateFormat

private String dateFormat
The format to use for dates/timestamps


dataXMLDir

private File dataXMLDir
The directory where data XML files will be written

Constructor Detail

ExportDataMojo

public ExportDataMojo()
Method Detail

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.