org.apache.torque.mojo
Class MorphDataMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.MorphDataMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MorphDataMojo
- extends BaseMojo
Converts Ant impex data XML files into maven-impex-plugin data XML files
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 |
MorphDataMojo
public MorphDataMojo()
getOldFiles
protected String[] getOldFiles()
throws IOException
- Use our configuration to determine the list of files we need to convert
- Throws:
IOException
isMorphNeeded
protected boolean isMorphNeeded(File oldFile,
File newFile)
getMorphRequests
protected List<MorphRequest> getMorphRequests(String[] oldFiles)
throws IOException
- Throws:
IOException
showConfig
protected void showConfig()
executeMojo
protected void executeMojo()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
executeMojo
in class BaseMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getNewDataOutputDir
public File getNewDataOutputDir()
setNewDataOutputDir
public void setNewDataOutputDir(File newDataOutputDir)
getOldDataXMLDir
public File getOldDataXMLDir()
setOldDataXMLDir
public void setOldDataXMLDir(File oldDataXMLDir)
getOldDataXMLIncludes
public String getOldDataXMLIncludes()
setOldDataXMLIncludes
public void setOldDataXMLIncludes(String oldDataXMLIncludes)
getOldDataXMLExcludes
public String getOldDataXMLExcludes()
setOldDataXMLExcludes
public void setOldDataXMLExcludes(String oldDataXMLExcludes)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.