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.MultiBuildItemRepresents a message bundle method.Note that templates that contain no expressions don't need to be validated.
-
-
Constructor Summary
Constructors Constructor Description MessageBundleMethodBuildItem(String bundleName, String key, String templateId, org.jboss.jandex.MethodInfo method, String template, boolean isDefaultBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBundleName()StringgetKey()org.jboss.jandex.MethodInfogetMethod()StringgetTemplate()StringgetTemplateId()booleanisDefaultBundle()booleanisValidatable()A bundle method that does not need to be validated hasnulltemplate id.
-
-
-
Method Detail
-
getBundleName
public String getBundleName()
-
getKey
public String getKey()
-
getTemplateId
public String getTemplateId()
-
getMethod
public org.jboss.jandex.MethodInfo getMethod()
-
getTemplate
public String 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
-
-