Interface JteExtension


public interface JteExtension
A jte extension must implement this interface.
  • Method Details

    • name

      String name()
      Returns:
      descriptive name of the extension
    • generate

      Collection<Path> generate(JteConfig config, Set<TemplateDescription> templateDescriptions)
      Perform the file generation.
      Parameters:
      config - access to general jte configuration
      templateDescriptions - data about each template jte found.
      Returns:
      the paths to each file generated by this extension
    • init

      default JteExtension init(Map<String,String> value)
      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