Enum Class Thresholds.Name

java.lang.Object
java.lang.Enum<Thresholds.Name>
org.jppf.ui.monitoring.diagnostics.Thresholds.Name
All Implemented Interfaces:
Serializable, Comparable<Thresholds.Name>, Constable
Enclosing class:
Thresholds

public static enum Thresholds.Name extends Enum<Thresholds.Name>
An enumeration of names for all types of thresholds.
  • Enum Constant Details

    • MEMORY_WARNING

      public static final Thresholds.Name MEMORY_WARNING
      Memory warning.
    • MEMORY_CRITICAL

      public static final Thresholds.Name MEMORY_CRITICAL
      Critical memory.
    • CPU_WARNING

      public static final Thresholds.Name CPU_WARNING
      CPU warning.
    • CPU_CRITICAL

      public static final Thresholds.Name CPU_CRITICAL
      Critical CPU.
  • Method Details

    • values

      public static Thresholds.Name[] 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 Thresholds.Name 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
    • getName

      public String getName()
      Get the associated name.
      Returns:
      the name as a string.
    • getDisplayName

      public String getDisplayName()
      Get the display name.
      Returns:
      the name as a string.