Package io.quarkus.qute.i18n
Annotation Type MessageParam
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface MessageParam
This annotation can be used to bind a message bundle method parameter with a template parameter declaration.By default, the parameter element's name is used as-is.
@MessageBundle interface MyBundle { @Message("Hello {name}!") String hello_world(@MessageParam("name") String foo); }
- See Also:
Message
-
-
Element Detail
-
value
String value
- Returns:
- the name of the parameter declaration
- Default:
- "<<element name>>"
-
-