org.apache.torque.mojo
Class ExportSchemaMojo
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.ExportSchemaMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExportSchemaMojo
- extends ExportMojo
Examines the JDBC metadata of a proprietary database and exports the schema information to database agnostic XML. The
generated XML contains information about tables, primary keys, unique constraints, foreign keys, indexes, sequences,
and views. This goal does not export any data. See also impex:exportdata
and impex:import
Field Summary |
private boolean |
processSequences
Flag indicating whether or not sequences will be processed. |
private boolean |
processTables
Flag indicating whether or not tables will be processed. |
private boolean |
processViews
Flag indicating whether or not views will be processed. |
private String |
schemaXMLFile
The file that the schema XML will get written to |
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 |
processTables
private boolean processTables
- Flag indicating whether or not tables will be processed. Default is true
processViews
private boolean processViews
- Flag indicating whether or not views will be processed. Default is true
processSequences
private boolean processSequences
- Flag indicating whether or not sequences will be processed. Default is true
schemaXMLFile
private String schemaXMLFile
- The file that the schema XML will get written to
ExportSchemaMojo
public ExportSchemaMojo()
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
isProcessTables
public boolean isProcessTables()
setProcessTables
public void setProcessTables(boolean processTables)
isProcessViews
public boolean isProcessViews()
setProcessViews
public void setProcessViews(boolean processViews)
isProcessSequences
public boolean isProcessSequences()
setProcessSequences
public void setProcessSequences(boolean processSequences)
getSchemaXMLFile
public String getSchemaXMLFile()
setSchemaXMLFile
public void setSchemaXMLFile(String schemaXMLFile)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.