org.apache.torque.mojo
Class ExportSchemaMojo

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.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 class org.apache.torque.mojo.BaseMojo
FS, SKIP_PACKAGING_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExportSchemaMojo()
           
 
Method Summary
protected  void configureTask()
          Configure the Ant task
 String getSchemaXMLFile()
           
 boolean isProcessSequences()
           
 boolean isProcessTables()
           
 boolean isProcessViews()
           
 void setProcessSequences(boolean processSequences)
           
 void setProcessTables(boolean processTables)
           
 void setProcessViews(boolean processViews)
           
 void setSchemaXMLFile(String schemaXMLFile)
           
 
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

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

Constructor Detail

ExportSchemaMojo

public ExportSchemaMojo()
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

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.