pt.ist.fenixframework.dml.maven
Class TestDmlCodeGeneratorMojo

Package class diagram package TestDmlCodeGeneratorMojo
java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by pt.ist.fenixframework.dml.maven.AbstractDmlCodeGeneratorMojo
          extended by pt.ist.fenixframework.dml.maven.TestDmlCodeGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class TestDmlCodeGeneratorMojo
extends AbstractDmlCodeGeneratorMojo

Generate base main classes from the main DML files


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TestDmlCodeGeneratorMojo()
           
 
Method Summary
 void execute()
           
protected  boolean generateFinals()
           
protected  boolean generateProjectProperties()
           
protected  List<String> getClasspathElements()
           
protected  String getCodeGeneratorClassName()
           
protected  File getDmlSourceDirectory()
           
protected  File getGeneratedSourcesDirectory()
           
protected  org.apache.maven.project.MavenProject getMavenProject()
           
protected  String getOutputDirectoryPath()
           
protected  String getPackageName()
           
protected  Map<String,String> getParams()
           
protected  File getSourcesDirectory()
           
protected  boolean verbose()
           
 
Methods inherited from class pt.ist.fenixframework.dml.maven.AbstractDmlCodeGeneratorMojo
getCodeGeneratorClass
 
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

TestDmlCodeGeneratorMojo

public TestDmlCodeGeneratorMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractDmlCodeGeneratorMojo
Throws:
org.apache.maven.plugin.MojoExecutionException

getDmlSourceDirectory

protected File getDmlSourceDirectory()
Specified by:
getDmlSourceDirectory in class AbstractDmlCodeGeneratorMojo

getCodeGeneratorClassName

protected String getCodeGeneratorClassName()
Specified by:
getCodeGeneratorClassName in class AbstractDmlCodeGeneratorMojo

getGeneratedSourcesDirectory

protected File getGeneratedSourcesDirectory()
Specified by:
getGeneratedSourcesDirectory in class AbstractDmlCodeGeneratorMojo

getSourcesDirectory

protected File getSourcesDirectory()
Specified by:
getSourcesDirectory in class AbstractDmlCodeGeneratorMojo

getPackageName

protected String getPackageName()
Specified by:
getPackageName in class AbstractDmlCodeGeneratorMojo

verbose

protected boolean verbose()
Specified by:
verbose in class AbstractDmlCodeGeneratorMojo

generateFinals

protected boolean generateFinals()
Specified by:
generateFinals in class AbstractDmlCodeGeneratorMojo

generateProjectProperties

protected boolean generateProjectProperties()
Specified by:
generateProjectProperties in class AbstractDmlCodeGeneratorMojo

getMavenProject

protected org.apache.maven.project.MavenProject getMavenProject()
Specified by:
getMavenProject in class AbstractDmlCodeGeneratorMojo

getOutputDirectoryPath

protected String getOutputDirectoryPath()
Specified by:
getOutputDirectoryPath in class AbstractDmlCodeGeneratorMojo

getParams

protected Map<String,String> getParams()
Specified by:
getParams in class AbstractDmlCodeGeneratorMojo

getClasspathElements

protected List<String> getClasspathElements()
Specified by:
getClasspathElements in class AbstractDmlCodeGeneratorMojo


Copyright © 2013. All Rights Reserved.