public static interface MessageMethod.Message
Message annotation on a method.| Modifier and Type | Method and Description |
|---|---|
Message.Format |
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.Message.Format format()
Copyright © 2019 JBoss by Red Hat. All rights reserved.