public static enum LogMessage.Level extends Enum<LogMessage.Level>
Enum Constant and Description |
---|
Error
An error message.
|
Information
An information message.
|
Warning
A warning message.
|
Modifier and Type | Method and Description |
---|---|
static LogMessage.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogMessage.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMessage.Level Information
public static final LogMessage.Level Warning
public static final LogMessage.Level Error
public static LogMessage.Level[] values()
for (LogMessage.Level c : LogMessage.Level.values()) System.out.println(c);
public static LogMessage.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 © 2013-2015 JBoss by Red Hat. All Rights Reserved.