public enum E_MessageType extends Enum<E_MessageType>
Message5WH.
Supported types are information, warning and error. Each type has an associated unique number and a default name for a logger.
The logger name can be used in combination with logging frameworks (such as slf4j or log4j), which need to be configured appropriatetly.| Enum Constant and Description |
|---|
ERROR
An error message, usually rather formal in format
|
INFO
An information (or informal) message
|
WARNING
A warning message, usually rather formal in format
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a unique number for this enumerate.
|
static E_MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static E_MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final E_MessageType INFO
public static final E_MessageType WARNING
public static final E_MessageType ERROR
public static E_MessageType[] values()
for (E_MessageType c : E_MessageType.values()) System.out.println(c);
public static E_MessageType 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 nullpublic String toString()
toString in class Enum<E_MessageType>Copyright © 2010–2017. All rights reserved.