Package de.bsvrz.kex.kexdav.management
Enum Message.ErrorLevel
- java.lang.Object
-
- java.lang.Enum<Message.ErrorLevel>
-
- de.bsvrz.kex.kexdav.management.Message.ErrorLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Message.ErrorLevel>
,java.lang.constant.Constable
- Enclosing class:
- Message
public static enum Message.ErrorLevel extends java.lang.Enum<Message.ErrorLevel>
Dringlichkeit einer Warnung
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Fehler oder anhaltendes, schweres Problem, z.B.INFO
Einfache Meldung über den ProgrammzustandMAJOR
Wichtige Warnung oder ein (voraussichtlich) vorübergehendes Problem, Betriebsmeldung notwendigMINOR
Geringfügige Warnung oder Hinweis, keine Betriebsmeldung notwendig
-
Method Summary
Modifier and Type Method Description boolean
isMinor()
Ist die Warnung unwichtig?java.lang.String
toString()
static Message.ErrorLevel
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
INFO
public static final Message.ErrorLevel INFO
Einfache Meldung über den Programmzustand
-
MINOR
public static final Message.ErrorLevel MINOR
Geringfügige Warnung oder Hinweis, keine Betriebsmeldung notwendig
-
MAJOR
public static final Message.ErrorLevel MAJOR
Wichtige Warnung oder ein (voraussichtlich) vorübergehendes Problem, Betriebsmeldung notwendig
-
ERROR
public static final Message.ErrorLevel ERROR
Fehler oder anhaltendes, schweres Problem, z.B. Parameterierungsfehler, Fehler beim Verbindungsaufbau u.ä.
-
-
Method Detail
-
values
public static Message.ErrorLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Message.ErrorLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isMinor
public boolean isMinor()
Ist die Warnung unwichtig? Sie wird dann z.B. nicht über die Betriebsmeldung verschickt.- Returns:
- True wenn geringfügig.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Message.ErrorLevel>
-
-