java.lang.Object
java.lang.Enum<AlertCategory>
com.aoindustries.noc.monitor.common.AlertCategory
All Implemented Interfaces:
Serializable, Comparable<AlertCategory>

public enum AlertCategory extends Enum<AlertCategory>
The different alert categories in the system. The category can affect which sound is played, for example.

These categories are in a priority order. When two alerts exist at the same level, but in different categories, the higher priority category is used for audible notifications.

Author:
AO Industries, Inc.
  • Enum Constant Details

    • UNCATEGORIZED

      public static final AlertCategory UNCATEGORIZED
      Something that is otherwise uncategorized.
    • EMAIL

      public static final AlertCategory EMAIL
      Alerts to incoming email messages not otherwise moved into the ticket system.
    • CONTACT

      public static final AlertCategory CONTACT
      See Also:
    • SUPPORT

      public static final AlertCategory SUPPORT
      See Also:
    • SIGNUP

      public static final AlertCategory SIGNUP
      See Also:
    • MONITORING

      public static final AlertCategory MONITORING
      Alerts coming from the monitoring system.

      TODO: Should this be split to infrastructure, virtual, and other?

  • Method Details

    • values

      public static AlertCategory[] 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 AlertCategory 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