java.lang.Object
java.lang.Enum<AlertLevel>
com.aoindustries.aoserv.cluster.analyze.AlertLevel
All Implemented Interfaces:
Serializable, Comparable<AlertLevel>

public enum AlertLevel extends Enum<AlertLevel>
For each check, assigns a level associated with any problems. The recommended uses for each level generally consider reliability problems as more significant than performance problems.
Author:
AO Industries, Inc.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates the resource is not runnable.
    Generally indicates the resources is runnable with significantly degraded reliability.
    Generally indicates the resource is runnable but nonoptimal in some way that only slightly degrades performance and has no affect on reliability.
    Generally indicates the resource is either runnable with significantly degraded performance or runnable with slightly degraded reliability.
    Indicates the resource is optimal.
  • Method Summary

    Modifier and Type
    Method
    Description
    static AlertLevel
    Returns the enum constant of this type with the specified name.
    static AlertLevel[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final AlertLevel NONE
      Indicates the resource is optimal.
    • LOW

      public static final AlertLevel LOW
      Generally indicates the resource is runnable but nonoptimal in some way that only slightly degrades performance and has no affect on reliability.
    • MEDIUM

      public static final AlertLevel MEDIUM
      Generally indicates the resource is either runnable with significantly degraded performance or runnable with slightly degraded reliability.
    • HIGH

      public static final AlertLevel HIGH
      Generally indicates the resources is runnable with significantly degraded reliability.
    • CRITICAL

      public static final AlertLevel CRITICAL
      Indicates the resource is not runnable.
  • Method Details

    • values

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