public interface JteExtension
A jte extension must implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptiongenerate(JteConfig config, Set<TemplateDescription> templateDescriptions) Perform the file generation.default JteExtensioninit will be called after the extension instance is constructed.name()
-
Method Details
-
name
String name()- Returns:
- descriptive name of the extension
-
generate
Perform the file generation.- Parameters:
config- access to general jte configurationtemplateDescriptions- data about each template jte found.- Returns:
- the paths to each file generated by this extension
-
init
init will be called after the extension instance is constructed. The map can be used to pass additional configuration properties from a build script.- Parameters:
value- Map of property key to configured value- Returns:
- self or a replacement
-