Package org.tentackle.maven.plugin.jlink
Class DefaultTemplateModelFactory
- java.lang.Object
-
- org.tentackle.maven.plugin.jlink.DefaultTemplateModelFactory
-
- All Implemented Interfaces:
TemplateModelFactory
public class DefaultTemplateModelFactory extends Object implements TemplateModelFactory
Default factory for the template model.
-
-
Constructor Summary
Constructors Constructor Description DefaultTemplateModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateModelcreate(AbstractJLinkMojo mojo, JLinkResolver.Result result)Creates the template model.
-
-
-
Method Detail
-
create
public TemplateModel create(AbstractJLinkMojo mojo, JLinkResolver.Result result) throws org.apache.maven.plugin.MojoExecutionException
Description copied from interface:TemplateModelFactoryCreates the template model.- Specified by:
createin interfaceTemplateModelFactory- Parameters:
mojo- the mojoresult- the resolver result- Returns:
- the model
- Throws:
org.apache.maven.plugin.MojoExecutionException- if model creation failed
-
-