Package io.quarkus.qute.runtime
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFail the build if multiple templates with the same path are found.If multiple templates with the same path are found then determine the highest priority value and eliminate all templates with lowest priority. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static QuteConfig.DuplicitTemplatesStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 priority10. Templates from build items can define any priority. -
FAIL
Fail the build if multiple templates with the same path are found.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-