Enum Class SystemEventSeverity
- All Implemented Interfaces:
Serializable, Comparable<SystemEventSeverity>, Constable
Represents the different types of severity of a system event.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe system event is critical.The system event is an information.No value is assigned.The system event is severe.The system event is a warning. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemEventSeverityfromValue(int v) intvalue()static SystemEventSeverityReturns the enum constant of this class with the specified name.static SystemEventSeverity[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NoValue
No value is assigned. -
Critical
The system event is critical. -
Severe
The system event is severe. -
Warning
The system event is a warning. -
Information
The system event is an information.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
public int value() -
fromValue
-