Enum 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant 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
    • 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, 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.
        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 name
        java.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 class java.lang.Enum<Message.ErrorLevel>