|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AlarmSeverity>
com.unboundid.directory.sdk.common.types.AlarmSeverity
public enum AlarmSeverity
Enumerates severity types for alarm conditions from least severe to most severe.
Enum Constant Summary | |
---|---|
CRITICAL
Indicates that a service affecting condition has occurred and an immediate corrective action is required. |
|
MAJOR
Indicates that a service affecting condition has developed and an urgent corrective action is required. |
|
MINOR
Indicates the existence of a non-service affecting fault condition and that corrective action should be taken in order to prevent a more serious (for example, service affecting) fault. |
|
NORMAL
Indicates that an alarm has been cleared and the alarming condition has returned to normal. |
|
WARNING
Indicates the existence of a potential or impending service affecting fault, before any significant effects have been felt. |
Method Summary | |
---|---|
static AlarmSeverity |
forDisplayName(java.lang.String displayName)
Get the alarm severity for the given display name. |
java.lang.String |
getDisplayName()
Returns the human-friendly name of this severity. |
static AlarmSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AlarmSeverity[] |
values()
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 Detail |
---|
public static final AlarmSeverity NORMAL
public static final AlarmSeverity WARNING
public static final AlarmSeverity MINOR
public static final AlarmSeverity MAJOR
public static final AlarmSeverity CRITICAL
Method Detail |
---|
public static AlarmSeverity[] values()
for (AlarmSeverity c : AlarmSeverity.values()) System.out.println(c);
public static AlarmSeverity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDisplayName()
public static AlarmSeverity forDisplayName(java.lang.String displayName)
displayName
- Display name for which alarm severity is requested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |