Enum ErrorLogSeverity
- All Implemented Interfaces:
Serializable,Comparable<ErrorLogSeverity>,java.lang.constant.Constable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public enum ErrorLogSeverity
extends Enum<ErrorLogSeverity>
This enum contains the set of error log severities defined in the Directory
Server.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe severity that will be used for messages providing debugging information.The severity that will be used for fatal error messages, which indicate that the server can no longer continue functioning normally.The severity that will be used for informational messages which may be useful but generally do not need to be written to log files.The severity that will be used for messages about errors that are small in scope and do not generally impact the operation of the server.The severity that will be used for warnings about conditions that do not generally impact the operation of the server.The severity that will be used for significant informational messages that should generally be visible to administrators.The severity that will be used for messages about errors that may impact the operation of the server or one of its components.The severity that will be used for warning messages about conditions that may impact the operation of the server or one of its components. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorLogSeverityRetrieves the error log severity with the specified name.static ErrorLogSeverityReturns the enum constant of this type with the specified name.static ErrorLogSeverity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEBUG
The severity that will be used for messages providing debugging information. -
FATAL_ERROR
The severity that will be used for fatal error messages, which indicate that the server can no longer continue functioning normally. -
INFORMATION
The severity that will be used for informational messages which may be useful but generally do not need to be written to log files. -
MILD_ERROR
The severity that will be used for messages about errors that are small in scope and do not generally impact the operation of the server. -
MILD_WARNING
The severity that will be used for warnings about conditions that do not generally impact the operation of the server. -
NOTICE
The severity that will be used for significant informational messages that should generally be visible to administrators. -
SEVERE_ERROR
The severity that will be used for messages about errors that may impact the operation of the server or one of its components. -
SEVERE_WARNING
The severity that will be used for warning messages about conditions that may impact the operation of the server or one of its components.
-
-
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
-
forName
Retrieves the error log severity with the specified name.- Parameters:
name- The name of the error log severity to retrieve. It must not benull.- Returns:
- The requested error log severity, or
nullif no such severity is defined.
-