Enum Class QuteConfig.DuplicitTemplatesStrategy

java.lang.Object
java.lang.Enum<QuteConfig.DuplicitTemplatesStrategy>
io.quarkus.qute.runtime.QuteConfig.DuplicitTemplatesStrategy
All Implemented Interfaces:
Serializable, Comparable<QuteConfig.DuplicitTemplatesStrategy>, Constable
Enclosing interface:
QuteConfig

public static enum QuteConfig.DuplicitTemplatesStrategy extends Enum<QuteConfig.DuplicitTemplatesStrategy>
  • Enum Constant Details

    • PRIORITIZE

      public static final QuteConfig.DuplicitTemplatesStrategy PRIORITIZE
      If multiple templates with the same path are found then determine the highest priority value and eliminate all templates with lowest priority. If there is exactly one template remaining then use this template. Otherwise, fail the build.

      Templates from the root application archive have the priority 30. Templates from other application archives have the priority 10. Templates from build items can define any priority.

    • FAIL

      public static final QuteConfig.DuplicitTemplatesStrategy FAIL
      Fail the build if multiple templates with the same path are found.
  • Method Details

    • values

      public static QuteConfig.DuplicitTemplatesStrategy[] 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 QuteConfig.DuplicitTemplatesStrategy 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