org.apache.torque.mojo
Class MorphDataMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by 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


Field Summary
 
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
MorphDataMojo()
           
 
Method Summary
protected  void executeMojo()
           
protected  List<MorphRequest> getMorphRequests(String[] oldFiles)
           
 File getNewDataOutputDir()
           
 File getOldDataXMLDir()
           
 String getOldDataXMLExcludes()
           
 String getOldDataXMLIncludes()
           
protected  String[] getOldFiles()
          Use our configuration to determine the list of files we need to convert
protected  boolean isMorphNeeded(File oldFile, File newFile)
           
 void setNewDataOutputDir(File newDataOutputDir)
           
 void setOldDataXMLDir(File oldDataXMLDir)
           
 void setOldDataXMLExcludes(String oldDataXMLExcludes)
           
 void setOldDataXMLIncludes(String oldDataXMLIncludes)
           
protected  void showConfig()
           
 
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
 

Constructor Detail

MorphDataMojo

public MorphDataMojo()
Method Detail

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-2012 The Kuali Foundation. All Rights Reserved.