Enum 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.

    AO Industries, Inc.
    • Enum Constant Detail


        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.

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

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

    • Method Detail

      • values

        public static AlertCategory[] 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 (AlertCategory c : AlertCategory.values())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null