Enum AlarmSeverity

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AlarmSeverity>

    @ThreadSafety(level=COMPLETELY_THREADSAFE)
    public enum AlarmSeverity
    extends java.lang.Enum<AlarmSeverity>
    This class provides information about the types of alarm severities that may be included in alarm entries.
    NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CRITICAL
      The alarm severity that indicates there is a critical error condition.
      INDETERMINATE
      The alarm severity that indicates that the severity cannot be determined.
      MAJOR
      The alarm severity that indicates there is a major error condition.
      MINOR
      The alarm severity that indicates there is a minor error condition.
      NORMAL
      The alarm severity that indicates that the associated condition is normal.
      WARNING
      The alarm severity that indicates there is a warning condition.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AlarmSeverity forName​(java.lang.String name)
      Retrieves the alarm severity with the specified name.
      static AlarmSeverity valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AlarmSeverity[] 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, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • INDETERMINATE

        public static final AlarmSeverity INDETERMINATE
        The alarm severity that indicates that the severity cannot be determined.
      • NORMAL

        public static final AlarmSeverity NORMAL
        The alarm severity that indicates that the associated condition is normal.
      • WARNING

        public static final AlarmSeverity WARNING
        The alarm severity that indicates there is a warning condition.
      • MINOR

        public static final AlarmSeverity MINOR
        The alarm severity that indicates there is a minor error condition.
      • MAJOR

        public static final AlarmSeverity MAJOR
        The alarm severity that indicates there is a major error condition.
      • CRITICAL

        public static final AlarmSeverity CRITICAL
        The alarm severity that indicates there is a critical error condition.
    • Method Detail

      • values

        public static AlarmSeverity[] 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 (AlarmSeverity c : AlarmSeverity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AlarmSeverity 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
      • forName

        @Nullable
        public static AlarmSeverity forName​(@NotNull
                                            java.lang.String name)
        Retrieves the alarm severity with the specified name.
        Parameters:
        name - The name of the alarm severity to retrieve. It must not be null.
        Returns:
        The alarm severity with the specified name, or null if there is no alarm severity with the given name.