|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Message.ErrorLevel>
de.bsvrz.kex.kexdav.management.Message.ErrorLevel
public static enum Message.ErrorLevel
Dringlichkeit einer Warnung
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Message.ErrorLevel INFO
public static final Message.ErrorLevel MINOR
public static final Message.ErrorLevel MAJOR
public static final Message.ErrorLevel ERROR
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic boolean isMinor()
public String toString()
toString
in class Enum<Message.ErrorLevel>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |