Class TemplateType

java.lang.Object
com.uwyn.rife2.gradle.TemplateType
All Implemented Interfaces:
Serializable

public class TemplateType extends Object implements Serializable
Allows template types to be specified for pre-compilation.
See Also:
  • Field Details

    • HTML

      public static TemplateType HTML
      The html template type.
    • JSON

      public static TemplateType JSON
      The json template type.
    • SVG

      public static TemplateType SVG
      The svg template type.
    • XML

      public static TemplateType XML
      The xml template type.
    • TXT

      public static TemplateType TXT
      The txt template type.
    • SQL

      public static TemplateType SQL
      The sql template type.
  • Constructor Details

    • TemplateType

      public TemplateType(String identifier)
      Creates a new template type instance.
      Parameters:
      identifier - the identifier of this template type
  • Method Details

    • identifier

      public String identifier()
      Retrieves the identifier for this template type
      Returns:
      the template type identifier as a string