Enum Class AlertMonitorKind

java.lang.Object
java.lang.Enum<AlertMonitorKind>
com.kingsrook.qqq.backend.core.alerts.AlertMonitorKind
All Implemented Interfaces:
Serializable, Comparable<AlertMonitorKind>, Constable

public enum AlertMonitorKind extends Enum<AlertMonitorKind>
The kinds of monitor an alerts implementation evaluates. Declared in core so producers can describe a seeded (default) monitor for their alert types without depending on the implementation.
  • Enum Constant Details

    • TABLE_QUERY

      public static final AlertMonitorKind TABLE_QUERY
      count of rows matching a filter passes a threshold.
    • AGGREGATE

      public static final AlertMonitorKind AGGREGATE
      an aggregate (count, sum, avg, min, max) crosses a band.
    • HEARTBEAT

      public static final AlertMonitorKind HEARTBEAT
      nothing was seen (a heartbeat, a process success, a newest row) within an interval.
    • PROCESS_FAILED

      public static final AlertMonitorKind PROCESS_FAILED
      a process run failed.
    • ESB_EVENT

      public static final AlertMonitorKind ESB_EVENT
      a matching ESB event arrived.
    • CODE

      public static final AlertMonitorKind CODE
      a code check returned the currently-failing conditions.
    • EXTERNAL

      public static final AlertMonitorKind EXTERNAL
      alerts ingested from an external system (e.g. Alertmanager).
  • Method Details

    • values

      public static AlertMonitorKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AlertMonitorKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null