Interface TwirlTemplateFormat


@Incubating @Deprecated public interface TwirlTemplateFormat
Deprecated.
Twirl Template format mapping
Since:
4.2
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Extension without the leading '.'.
    Deprecated.
    Fully qualified class name for the template format.
    Deprecated.
    Imports that are needed for this template format.
  • Method Details

    • getExtension

      String getExtension()
      Deprecated.
      Extension without the leading '.'.
      Returns:
      file extension
    • getFormatType

      String getFormatType()
      Deprecated.
      Fully qualified class name for the template format.
      Returns:
      class name of the format
    • getTemplateImports

      Collection<String> getTemplateImports()
      Deprecated.
      Imports that are needed for this template format.

      These are just the packages or individual classes in Scala format. Use my.package._ and not my.package.*.

      Returns:
      collection of imports to be added after the default Twirl imports