de.bsvrz.kex.kexdav.management
Enum Message.ErrorLevel

java.lang.Object
  extended by java.lang.Enum<Message.ErrorLevel>
      extended by de.bsvrz.kex.kexdav.management.Message.ErrorLevel
All Implemented Interfaces:
Serializable, Comparable<Message.ErrorLevel>
Enclosing class:
Message

public static enum Message.ErrorLevel
extends 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

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. This method may be used to iterate over the constants as follows:
for (Message.ErrorLevel c : Message.ErrorLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Message.ErrorLevel valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
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 String toString()
Overrides:
toString in class Enum<Message.ErrorLevel>