Enum Class LogAlerts.FailLevel

java.lang.Object
java.lang.Enum<LogAlerts.FailLevel>
io.jstach.rainbowgum.LogAlerts.FailLevel
All Implemented Interfaces:
Serializable, Comparable<LogAlerts.FailLevel>, Constable
Enclosing interface:
LogAlerts

public static enum LogAlerts.FailLevel extends Enum<LogAlerts.FailLevel>
What building LogConfig and starting Rainbow Gum do with alerts recorded while starting, set by "logging.alerts.fail". Checked once when LogConfig is built and once right after Rainbow Gum starts; alerts after that never fail anything. Evicting or clearing an alert from the diagnostic queue does not prevent it from failing startup.
  • Enum Constant Details

  • Method Details

    • values

      public static LogAlerts.FailLevel[] 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 LogAlerts.FailLevel 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