@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum DebugType extends java.lang.Enum<DebugType>
Enum Constant and Description |
---|
ASN1
The debug type that will be used for debugging information about ASN.1
elements written to or read from a directory server.
|
CODING_ERROR
The debug type that will be used for information about coding errors or
other types of incorrect uses of the LDAP SDK.
|
CONNECT
The debug type that will be used for debugging information about
connection establishment and termination.
|
CONNECTION_POOL
The debug type that will be used for information about connection pool
interaction.
|
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.
|
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.
|
OTHER
The debug type that will be used for debug messages not applicable to any
of the other categories.
|
Modifier and Type | Method and Description |
---|---|
static DebugType |
forName(java.lang.String name)
Retrieves the debug type with the specified name.
|
java.lang.String |
getName()
Retrieves the name for this debug type.
|
static java.lang.String |
getTypeNameList()
Retrieves a comma-delimited list of the defined debug type names.
|
java.lang.String |
toString()
Retrieves a string representation of this debug type.
|
static DebugType |
valueOf(java.lang.String name)
Returns 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.
|
public static final DebugType ASN1
public static final DebugType CONNECT
public static final DebugType EXCEPTION
public static final DebugType LDAP
public static final DebugType CONNECTION_POOL
public static final DebugType LDIF
public static final DebugType MONITOR
public static final DebugType CODING_ERROR
public static DebugType[] values()
for (DebugType c : DebugType.values()) System.out.println(c);
public static DebugType 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 namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@Nullable public static DebugType forName(@NotNull java.lang.String name)
name
- The name of the debug type to retrieve. It must not be
null
.null
if there is no such
debug type.@NotNull public static java.lang.String getTypeNameList()