public static enum MessageInterface.AnnotatedType extends Enum<MessageInterface.AnnotatedType>
Enum Constant and Description |
---|
MESSAGE_BUNDLE
Indicates the interface is annotated with
@MessageBundle |
MESSAGE_LOGGER
Indicates the interface is annotated with
@MessageLogger |
NONE
Indicates the interface is not annotated with
MessageBundle or @MessageLogger |
Modifier and Type | Method and Description |
---|---|
static MessageInterface.AnnotatedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageInterface.AnnotatedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageInterface.AnnotatedType MESSAGE_BUNDLE
@MessageBundle
public static final MessageInterface.AnnotatedType MESSAGE_LOGGER
@MessageLogger
public static final MessageInterface.AnnotatedType NONE
MessageBundle
or @MessageLogger
public static MessageInterface.AnnotatedType[] values()
for (MessageInterface.AnnotatedType c : MessageInterface.AnnotatedType.values()) System.out.println(c);
public static MessageInterface.AnnotatedType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022 JBoss by Red Hat. All rights reserved.