Class AbstractGenerateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.collections.codegenerator.maven.AbstractGenerateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
GenerateServicesMojo
,GenerateSourcesMojo
,GenerateTestSourcesMojo
public abstract class AbstractGenerateMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.maven.project.MavenProject
mavenProject
protected boolean
skipCodeGen
-
Constructor Summary
Constructors Constructor Description AbstractGenerateMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addGeneratedDirectoryToMaven()
void
execute()
protected abstract java.lang.String
getFileExtension()
abstract java.io.File
getOutputDirectory()
abstract java.lang.String
getTemplateDirectory()
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getTemplateDirectory
public abstract java.lang.String getTemplateDirectory()
-
getOutputDirectory
public abstract java.io.File getOutputDirectory()
-
getFileExtension
protected abstract java.lang.String getFileExtension()
-
addGeneratedDirectoryToMaven
protected abstract void addGeneratedDirectoryToMaven()
-
-