public enum MessageLevel extends Enum<MessageLevel>
Message
will be displayed at. Corresponds to AUI message styles.
https://developer.atlassian.com/display/AUI/Messages
Enum Constant and Description |
---|
ERROR |
GENERIC |
HINT |
INFO |
SUCCESS |
WARNING |
Modifier and Type | Method and Description |
---|---|
static MessageLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageLevel ERROR
public static final MessageLevel WARNING
public static final MessageLevel SUCCESS
public static final MessageLevel INFO
public static final MessageLevel HINT
public static final MessageLevel GENERIC
public static MessageLevel[] values()
for (MessageLevel c : MessageLevel.values()) System.out.println(c);
public static MessageLevel 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 © 2003–2020 Atlassian. All rights reserved.