public static enum Message.Level extends Enum<Message.Level>
Modifier and Type | Method and Description |
---|---|
static Message.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Level ERROR
public static final Message.Level WARNING
public static final Message.Level INFO
public static Message.Level[] values()
for (Message.Level c : Message.Level.values()) System.out.println(c);
public static Message.Level 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 © 2001–2021 JBoss by Red Hat. All rights reserved.