Package org.tentackle.maven.plugin.jlink
Class DefaultTemplateModelFactory
java.lang.Object
org.tentackle.maven.plugin.jlink.DefaultTemplateModelFactory
- All Implemented Interfaces:
TemplateModelFactory
Default factory for the template model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.tentackle.maven.TemplateModelcreate(AbstractJLinkMojo mojo, JLinkResolver.Result result) Creates the template model.
-
Constructor Details
-
DefaultTemplateModelFactory
public DefaultTemplateModelFactory()
-
-
Method Details
-
create
public org.tentackle.maven.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
-