@Target(value=METHOD) @Retention(value=CLASS) @Documented public @interface Message
| Modifier and Type | Fields and Description | 
|---|---|
| static int | INHERITIndicates that this message should inherit the ID from another message with the same name. | 
| static int | NONEIndicates that this message has no ID. | 
| Modifier and Type | Required Element and Description | 
|---|---|
| String | valueThe default format string of this message. | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| Message.Format | formatThe format type of this method (defaults to  Message.Format.PRINTF). | 
| int | idThe message ID number. | 
public static final int INHERIT
public abstract String value
 Expressions in the form of ${property.key:default-value} can be used for the value. If the property key is
 prefixed with sys. a system property will be used. If the key is
 prefixed with env. an environment variable will be used. In all other cases
 the org.jboss.logging.tools.expressionProperties processor argument is used to specify the path the properties
 file which contains the values for the expressions.
 
public abstract int id
INHERIT.public abstract Message.Format format
Message.Format.PRINTF).Copyright © 2019 JBoss by Red Hat. All rights reserved.