Package com.unboundid.util
Enum DebugType
- All Implemented Interfaces:
Serializable,Comparable<DebugType>,java.lang.constant.Constable
This enumeration defines a set of debugging types that are used by the LDAP
SDK.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe debug type that will be used for debugging information about ASN.1 elements written to or read from a directory server.The debug type that will be used for information about coding errors or other types of incorrect uses of the LDAP SDK.The debug type that will be used for debugging information about connection establishment and termination.The debug type that will be used for information about connection pool interaction.The debug type that will be used for debugging information about exceptions that are caught.The debug type that will be used for debugging information about LDAP requests sent to or received from a directory server.The debug type that will be used for debugging information about LDIF entries or change records read or written.The debug type that will be used for information about monitor entry parsing.The debug type that will be used for debug messages not applicable to any of the other categories. -
Method Summary
Modifier and TypeMethodDescriptionstatic DebugTypeRetrieves the debug type with the specified name.getName()Retrieves the name for this debug type.static StringRetrieves a comma-delimited list of the defined debug type names.toString()Retrieves a string representation of this debug type.static DebugTypeReturns the enum constant of this type with the specified name.static DebugType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASN1
The debug type that will be used for debugging information about ASN.1 elements written to or read from a directory server. -
CONNECT
The debug type that will be used for debugging information about connection establishment and termination. -
EXCEPTION
The debug type that will be used for debugging information about exceptions that are caught. -
LDAP
The debug type that will be used for debugging information about LDAP requests sent to or received from a directory server. -
CONNECTION_POOL
The debug type that will be used for information about connection pool interaction. -
LDIF
The debug type that will be used for debugging information about LDIF entries or change records read or written. -
MONITOR
The debug type that will be used for information about monitor entry parsing. -
CODING_ERROR
The debug type that will be used for information about coding errors or other types of incorrect uses of the LDAP SDK. -
OTHER
The debug type that will be used for debug messages not applicable to any of the other categories.
-
-
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
-
getName
Retrieves the name for this debug type.- Returns:
- The name for this debug type.
-
forName
Retrieves the debug type with the specified name.- Parameters:
name- The name of the debug type to retrieve. It must not benull.- Returns:
- The requested debug type, or
nullif there is no such debug type.
-
getTypeNameList
Retrieves a comma-delimited list of the defined debug type names.- Returns:
- A comma-delimited list of the defined debug type names.
-
toString
Retrieves a string representation of this debug type.
-