org.apache.torque.mojo
Class MorphSchemaMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by org.apache.torque.mojo.AbstractMorphSingleMojo
              extended by org.apache.torque.mojo.MorphSchemaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class MorphSchemaMojo
extends AbstractMorphSingleMojo

Convert an Ant impex schema XML file into a maven-impex-plugin schema XML file


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
MorphSchemaMojo()
           
 
Method Summary
protected  void beforeExecution()
           
protected  void executeMojo()
           
protected  Morpher getMorpher(MorphRequest request, String artifactId)
           
 File getNewSchemaXMLFile()
           
 File getOldSchemaXMLFile()
           
 void setNewSchemaXMLFile(File newSchemaXMLFile)
           
 void setOldSchemaXMLFile(File oldSchemaXMLFile)
           
 
Methods inherited from class org.apache.torque.mojo.AbstractMorphSingleMojo
getArtifactId, getNewFile, getOldFile, isMorphNeeded, setArtifactId, setNewFile, setOldFile, skipMojo
 
Methods inherited from class org.apache.torque.mojo.BaseMojo
afterExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger
 
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

MorphSchemaMojo

public MorphSchemaMojo()
Method Detail

beforeExecution

protected void beforeExecution()
Overrides:
beforeExecution in class BaseMojo

executeMojo

protected void executeMojo()
                    throws org.apache.maven.plugin.MojoExecutionException
Overrides:
executeMojo in class AbstractMorphSingleMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getMorpher

protected Morpher getMorpher(MorphRequest request,
                             String artifactId)
Specified by:
getMorpher in class AbstractMorphSingleMojo

getNewSchemaXMLFile

public File getNewSchemaXMLFile()

setNewSchemaXMLFile

public void setNewSchemaXMLFile(File newSchemaXMLFile)

getOldSchemaXMLFile

public File getOldSchemaXMLFile()

setOldSchemaXMLFile

public void setOldSchemaXMLFile(File oldSchemaXMLFile)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.