Uses of Enum Class
org.opends.messages.Severity
Package
Description
Defines all the messages that may be used in the Directory Server and tools.
Contains the code for the Directory Server backend that provides an interface for executing administrative tasks.
Contains various classes that comprise the core of the Directory Server codebase.
Contains implementations of Directory Server access, error, and debug loggers.
-
Uses of Severity in org.opends.messages
Modifier and TypeFieldDescriptionSeverity.VALUES
All the enum values (defined to avoid callingSeverity.values()
which allocate an array each time.Modifier and TypeMethodDescriptionstatic Severity
Severity.parseString
(String s) Returns theSeverity
associated with the input strings
which can either be a severity's name or messageDescriptorForm.static Severity
Returns the enum constant of this class with the specified name.static Severity[]
Severity.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Severity in org.opends.server.backends.task
Modifier and TypeMethodDescriptionvoid
Task.addLogMessage
(String category, Severity severity, LocalizableMessage message) Adds a log message to the set of messages logged by this task. -
Uses of Severity in org.opends.server.core
Modifier and TypeMethodDescriptionvoid
DirectoryServer.sendAlertNotification
(AlertGenerator generator, Severity severity, String alertType, LocalizableMessage alertMessage) void
ServerContext.sendAlertNotification
(AlertGenerator generator, Severity severity, String alertType, LocalizableMessage alertMessage) Sends an alert notification with the provided information. -
Uses of Severity in org.opends.server.loggers
Modifier and TypeMethodDescriptionstatic boolean
ErrorLogger.isEnabledFor
(long categoryMask, Severity severity) Check if logging is enabled for the provided category and severity.static void
ErrorLogger.log
(String category, long categoryMask, Severity severity, LocalizableMessage message) Writes a message to the error log using the provided information.abstract void
ErrorLogPublisher.log
(String category, long categoryMask, Severity severity, LocalizableMessage message) Writes a message to the error log using the provided information.