Enum Class ResolveMode

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

public enum ResolveMode extends Enum<ResolveMode>
How an open alert of a type is closed automatically. Any mode also allows a person to resolve an alert manually, with a note.
  • Enum Constant Details

    • PRODUCER

      public static final ResolveMode PRODUCER
      the producer calls QAlerts.resolve when the condition clears.
    • MONITOR

      public static final ResolveMode MONITOR
      the monitor that raised it resolves it when its next evaluation is clean.
    • QUIET_PERIOD

      public static final ResolveMode QUIET_PERIOD
      it resolves when no raise has been seen for the type's quiet period.
    • MANUAL

      public static final ResolveMode MANUAL
      only a person resolves it.
  • Method Details

    • values

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