public static enum Message.ErrorLevel extends Enum<Message.ErrorLevel>
Enum Constant and Description |
---|
ERROR
Fehler oder anhaltendes, schweres Problem, z.B.
|
INFO
Einfache Meldung über den Programmzustand
|
MAJOR
Wichtige Warnung oder ein (voraussichtlich) vorübergehendes Problem, Betriebsmeldung notwendig
|
MINOR
Geringfügige Warnung oder Hinweis, keine Betriebsmeldung notwendig
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMinor()
Ist die Warnung unwichtig? Sie wird dann z.B.
|
String |
toString() |
static Message.ErrorLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.ErrorLevel INFO
public static final Message.ErrorLevel MINOR
public static final Message.ErrorLevel MAJOR
public static final Message.ErrorLevel ERROR
public static Message.ErrorLevel[] values()
for (Message.ErrorLevel c : Message.ErrorLevel.values()) System.out.println(c);
public static Message.ErrorLevel 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 boolean isMinor()
public String toString()
toString
in class Enum<Message.ErrorLevel>