com.atlassian.jira.util
Enum MessageSet.Level
java.lang.Object
java.lang.Enum<MessageSet.Level>
com.atlassian.jira.util.MessageSet.Level
- All Implemented Interfaces:
- Serializable, Comparable<MessageSet.Level>
- Enclosing interface:
- MessageSet
public static enum MessageSet.Level
- extends Enum<MessageSet.Level>
Message levels
WARNING
public static final MessageSet.Level WARNING
ERROR
public static final MessageSet.Level ERROR
values
public static MessageSet.Level[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MessageSet.Level c : MessageSet.Level.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MessageSet.Level valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2002-2014 Atlassian. All Rights Reserved.