pt.ist.fenixframework.dml.maven
Class AbstractDmlCodeGeneratorMojo

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

public abstract class AbstractDmlCodeGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo


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

AbstractDmlCodeGeneratorMojo

public AbstractDmlCodeGeneratorMojo()
Method Detail

getMavenProject

protected abstract org.apache.maven.project.MavenProject getMavenProject()

getCodeGeneratorClassName

protected abstract String getCodeGeneratorClassName()

getDmlSourceDirectory

protected abstract File getDmlSourceDirectory()

getGeneratedSourcesDirectory

protected abstract File getGeneratedSourcesDirectory()

getSourcesDirectory

protected abstract File getSourcesDirectory()

getOutputDirectoryPath

protected abstract String getOutputDirectoryPath()

getPackageName

protected abstract String getPackageName()

verbose

protected abstract boolean verbose()

generateFinals

protected abstract boolean generateFinals()

generateProjectProperties

protected abstract boolean generateProjectProperties()

getParams

protected abstract Map<String,String> getParams()

getClasspathElements

protected abstract List<String> getClasspathElements()

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getCodeGeneratorClass

public Class<? extends CodeGenerator> getCodeGeneratorClass()
                                                     throws ClassNotFoundException
Throws:
ClassNotFoundException


Copyright © 2013. All Rights Reserved.