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:
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.MavenProjectmavenProjectprotected booleanskipCodeGen
-
Constructor Summary
Constructors Constructor Description AbstractGenerateMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidaddGeneratedDirectoryToMaven()voidexecute()protected abstract java.lang.StringgetFileExtension()abstract java.io.FilegetOutputDirectory()abstract java.lang.StringgetTemplateDirectory()
-
-
-
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()
-
-