public static interface MessageMethod.Message
Message
annotation on a method.Modifier and Type | Method and Description |
---|---|
Annotations.FormatType |
format()
The message format type for the message.
|
boolean |
hasId()
Checks if the message has an id that was provided.
|
int |
id()
The message id for the message to use.
|
boolean |
inheritsId()
Checks if the message id was inherited.
|
String |
value()
A format string that can be used with the
format() . |
int id()
boolean hasId()
true
if the message id was specified or
inherited, otherwise returns false
.true
if the message id was provided, otherwise false
.boolean inheritsId()
true
only if the message id is inherited, otherwise
false
is returned.true
if the message id was inherited, otherwise false
.Annotations.FormatType format()
Copyright © 2023 JBoss by Red Hat. All rights reserved.