Enum AlertLevel
- All Implemented Interfaces:
Serializable
,Comparable<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 ConstantDescriptionIndicates 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 TypeMethodDescriptionstatic AlertLevel
Returns the enum constant of this type with the specified name.static AlertLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Indicates the resource is optimal. -
LOW
Generally indicates the resource is runnable but nonoptimal in some way that only slightly degrades performance and has no affect on reliability. -
MEDIUM
Generally indicates the resource is either runnable with significantly degraded performance or runnable with slightly degraded reliability. -
HIGH
Generally indicates the resources is runnable with significantly degraded reliability. -
CRITICAL
Indicates the resource is not runnable.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-