public enum MessageLevel extends Enum<MessageLevel>
Enum Constant and Description |
---|
DEBUG |
ERROR |
FATAL |
INFO |
NONE |
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 NONE
public static final MessageLevel INFO
public static final MessageLevel WARNING
public static final MessageLevel ERROR
public static final MessageLevel FATAL
public static final MessageLevel DEBUG
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 © 2017 smarTen. All rights reserved.