@Target(value=METHOD) @Retention(value=CLASS) @Documented public @interface Message
Modifier and Type | Fields and Description |
---|---|
static int |
INHERIT
Indicates that this message should inherit the ID from another message with the same name.
|
static int |
NONE
Indicates that this message has no ID.
|
Modifier and Type | Required Element and Description |
---|---|
String |
value
The default format string of this message.
|
Modifier and Type | Optional Element and Description |
---|---|
Message.Format |
format
The format type of this method (defaults to
Message.Format.PRINTF ). |
int |
id
The 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.