org.apache.torque.mojo
Class GenerateTableListingMojo
java.lang.Object
   org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractMojo
       org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.BaseMojo
           org.apache.torque.mojo.GenerateTableListingMojo
org.apache.torque.mojo.GenerateTableListingMojo
- All Implemented Interfaces: 
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- public class GenerateTableListingMojo 
- extends BaseMojo
Examine the directory that SQL files were generated to and produce a file that contains a listing of any tables that contained data at
 the point in time the export was run.
 
 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
| ROLE | 
 
 
 
| 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 | 
 
GenerateTableListingMojo
public GenerateTableListingMojo()
executeMojo
protected void executeMojo()
                    throws org.apache.maven.plugin.MojoExecutionException,
                           org.apache.maven.plugin.MojoFailureException
- 
- Specified by:
- executeMojoin class- BaseMojo
 
- 
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
getFileListing
protected List<File> getFileListing(File dir)
- 
 
getTableNames
protected List<String> getTableNames(List<File> files)
- 
 
isSkip
protected boolean isSkip(File file,
                         String[] skipTokens)
- 
 
getExtension
public String getExtension()
- 
 
setExtension
public void setExtension(String extension)
- 
 
getTargetDatabase
public String getTargetDatabase()
- 
 
setTargetDatabase
public void setTargetDatabase(String targetDatabase)
- 
 
getArtifactId
public String getArtifactId()
- 
 
setArtifactId
public void setArtifactId(String artifactId)
- 
 
getBaseSqlDir
public File getBaseSqlDir()
- 
 
setBaseSqlDir
public void setBaseSqlDir(File sqlDir)
- 
 
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.