Package io.quarkus.qute.deployment
Class MessageBundleMethodBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.qute.deployment.MessageBundleMethodBuildItem
public final class MessageBundleMethodBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Represents a message bundle method.
Note that templates that contain no expressions don't need to be validated.
-
Constructor Summary
ConstructorsConstructorDescriptionMessageBundleMethodBuildItem(String bundleName, String key, String templateId, org.jboss.jandex.MethodInfo method, String template, boolean isDefaultBundle) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()org.jboss.jandex.MethodInfobooleanbooleanA bundle method that does not need to be validated hasnulltemplate id.
-
Constructor Details
-
MessageBundleMethodBuildItem
-
-
Method Details
-
getBundleName
-
getKey
-
getTemplateId
-
getMethod
public org.jboss.jandex.MethodInfo getMethod() -
getTemplate
-
isValidatable
public boolean isValidatable()A bundle method that does not need to be validated hasnulltemplate id.- Returns:
trueif the template needs to be validated
-
isDefaultBundle
public boolean isDefaultBundle()- Returns:
trueif the message comes from the default bundle
-