Enum Class JStacheCatalog.CatalogFlag

java.lang.Object
java.lang.Enum<JStacheCatalog.CatalogFlag>
io.jstach.jstache.JStacheCatalog.CatalogFlag
All Implemented Interfaces:
Serializable, Comparable<JStacheCatalog.CatalogFlag>, Constable
Enclosing class:
JStacheCatalog

public static enum JStacheCatalog.CatalogFlag extends Enum<JStacheCatalog.CatalogFlag>
Configuration flags for generating template catalogs such META-INF/services files.
Author:
agentgt
  • Enum Constant Details

    • GENERATE_PROVIDER_META_INF_SERVICE

      public static final JStacheCatalog.CatalogFlag GENERATE_PROVIDER_META_INF_SERVICE
      Option that will generate a legacy service loader registration: META-INF/services/io.jstach.jstachio.spi.TemplateProvider pointing to the generated template catalog.
    • GENERATE_FINDER_META_INF_SERVICE

      public static final JStacheCatalog.CatalogFlag GENERATE_FINDER_META_INF_SERVICE
      Option that will generate a legacy service loader registration: META-INF/services/io.jstach.jstachio.spi.JStachioTemplateFinder pointing to the generated template catalog.
  • Method Details

    • values

      public static JStacheCatalog.CatalogFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JStacheCatalog.CatalogFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null